mirror of
https://github.com/blakeblackshear/frigate.git
synced 2025-07-30 13:48:07 +02:00
update YOLO_NAS notebook (#17414)
Google Colab updated to python 3.11 super-gradients v3.7.1 is not compatible with py3.11 and install fails super-gradients committed a fix to master branch but did not cut a relase since (acquired by Nvidia in the meantime) This commit installs super-gradients from master branch
This commit is contained in:
parent
8978d1ff74
commit
ccf20f456a
@ -8,14 +8,14 @@
|
|||||||
},
|
},
|
||||||
"outputs": [],
|
"outputs": [],
|
||||||
"source": [
|
"source": [
|
||||||
"! pip install -q super_gradients==3.7.1"
|
"! pip install -q git+https://github.com/Deci-AI/super-gradients.git"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"cell_type": "code",
|
"cell_type": "code",
|
||||||
"source": [
|
"source": [
|
||||||
"! sed -i 's/sghub.deci.ai/sg-hub-nv.s3.amazonaws.com/' /usr/local/lib/python3.10/dist-packages/super_gradients/training/pretrained_models.py\n",
|
"! sed -i 's/sghub.deci.ai/sg-hub-nv.s3.amazonaws.com/' /usr/local/lib/python3.11/dist-packages/super_gradients/training/pretrained_models.py\n",
|
||||||
"! sed -i 's/sghub.deci.ai/sg-hub-nv.s3.amazonaws.com/' /usr/local/lib/python3.10/dist-packages/super_gradients/training/utils/checkpoint_utils.py"
|
"! sed -i 's/sghub.deci.ai/sg-hub-nv.s3.amazonaws.com/' /usr/local/lib/python3.11/dist-packages/super_gradients/training/utils/checkpoint_utils.py"
|
||||||
],
|
],
|
||||||
"metadata": {
|
"metadata": {
|
||||||
"id": "NiRCt917KKcL"
|
"id": "NiRCt917KKcL"
|
||||||
|
Loading…
Reference in New Issue
Block a user