Skip to content

Commit

Permalink
Merge pull request #2 from ouster-lidar/pip-install-ultralytics
Browse files Browse the repository at this point in the history
Pip install ultralytics before requesting the model from torch hub
  • Loading branch information
Samahu authored May 19, 2023
2 parents c0355d3 + d4660ac commit 5740e0c
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions Ouster_Yolo5_Demo.ipynb
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"cells": [
{
"attachments": {},
"cell_type": "markdown",
"metadata": {
"colab_type": "text",
Expand All @@ -11,6 +12,7 @@
]
},
{
"attachments": {},
"cell_type": "markdown",
"metadata": {
"id": "hrsaDfdVHzxt"
Expand All @@ -31,6 +33,7 @@
]
},
{
"attachments": {},
"cell_type": "markdown",
"metadata": {
"id": "yNveqeA1KXGy"
Expand Down Expand Up @@ -71,6 +74,7 @@
]
},
{
"attachments": {},
"cell_type": "markdown",
"metadata": {
"id": "gSoLdnyNvkKH"
Expand Down Expand Up @@ -111,6 +115,7 @@
]
},
{
"attachments": {},
"cell_type": "markdown",
"metadata": {
"id": "X7yAi9hd-T4B"
Expand Down Expand Up @@ -177,6 +182,7 @@
]
},
{
"attachments": {},
"cell_type": "markdown",
"metadata": {
"id": "zP6USLgz2f0r"
Expand All @@ -203,6 +209,7 @@
]
},
{
"attachments": {},
"cell_type": "markdown",
"metadata": {
"id": "MlSPiCVaFGRR"
Expand Down Expand Up @@ -259,6 +266,7 @@
]
},
{
"attachments": {},
"cell_type": "markdown",
"metadata": {
"id": "jtmS7_TXFsT3"
Expand Down Expand Up @@ -307,10 +315,12 @@
],
"source": [
"# Load YOLOv5 model\n",
"%pip install ultralytics\n",
"model = torch.hub.load('ultralytics/yolov5', 'yolov5s', pretrained=True)\n"
]
},
{
"attachments": {},
"cell_type": "markdown",
"metadata": {
"id": "JzytMgGJc8yi"
Expand Down Expand Up @@ -383,6 +393,7 @@
]
},
{
"attachments": {},
"cell_type": "markdown",
"metadata": {
"id": "cdjANOTc-QiI"
Expand Down Expand Up @@ -424,6 +435,7 @@
]
},
{
"attachments": {},
"cell_type": "markdown",
"metadata": {
"id": "sBQZO1YkubR2"
Expand Down Expand Up @@ -486,6 +498,7 @@
]
},
{
"attachments": {},
"cell_type": "markdown",
"metadata": {
"id": "DHkrGN4OPv-S"
Expand Down Expand Up @@ -613,6 +626,7 @@
]
},
{
"attachments": {},
"cell_type": "markdown",
"metadata": {
"id": "g8dHcni6CJYt"
Expand Down

0 comments on commit 5740e0c

Please sign in to comment.