mirror of
https://github.com/PhotonVision/photonvision
synced 2026-06-28 02:11:40 +00:00
Add notice to notebook about running on linux (#2163)
This commit is contained in:
@@ -10,7 +10,11 @@
|
||||
"\n",
|
||||
"### Before you start\n",
|
||||
"\n",
|
||||
"If you are not using Google Colab, it is recommended to create a separate [Python virtual environment](https://docs.python.org/3/library/venv.html) before you run this project. This ensures that packages installed for the conversion process do not conflict with other packages you may already have set up."
|
||||
"If you are not using Google Colab, it is recommended to create a separate [Python virtual environment](https://docs.python.org/3/library/venv.html) before you run this project. This ensures that packages installed for the conversion process do not conflict with other packages you may already have set up.\n",
|
||||
"\n",
|
||||
"## ⚠️ Linux Only\n",
|
||||
"This notebook can only by run on **Linux** because the `rknn-toolkit2` Python package only supports Linux builds.\n",
|
||||
"If you don’t have access to a Linux system, consider using a cloud service like [Google Colab](https://colab.research.google.com).\n"
|
||||
],
|
||||
"id": "65e9f457d12dcc6b"
|
||||
},
|
||||
@@ -194,7 +198,7 @@
|
||||
" check_git_installed()\n",
|
||||
"\n",
|
||||
" if not version in valid_yolo_versions:\n",
|
||||
" print(f\"YOLO version \\\"{version}\\\" is not a valid version! Valid versions are: {\", \".join(valid_yolo_versions)}\")\n",
|
||||
" print(f\"YOLO version \\\"{version}\\\" is not a valid version! Valid versions are: {', '.join(valid_yolo_versions)}\")\n",
|
||||
"\n",
|
||||
" try:\n",
|
||||
" if version.lower() == \"yolov5\":\n",
|
||||
|
||||
Reference in New Issue
Block a user