Update YOLO_NAS_Pretrained_Export.ipynb

This commit is contained in:
Manuel López Antequera 2025-07-04 21:34:28 +02:00 committed by GitHub
parent 4339f26ded
commit ce66486e10
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -69,6 +69,20 @@
"\n",
"files.download('yolo_nas_s.onnx')"
]
},
{
"cell_type": "code",
"source": [
"labels = model.get_class_names()\n",
"with open(\"coco-80.txt\", \"w\") as f:\n",
" f.write(\"\\n\".join(labels))\n",
"files.download(\"coco-80.txt\")"
],
"metadata": {
"id": "KEhxK_lzvlqk"
},
"execution_count": null,
"outputs": []
}
],
"metadata": {