mirror of
https://github.com/blakeblackshear/frigate.git
synced 2025-12-08 14:25:41 +03:00
Undo
This commit is contained in:
parent
2a40e3d9ab
commit
ce624ab67d
@ -48,8 +48,7 @@
|
|||||||
"source": [
|
"source": [
|
||||||
"# export the model for compatibility with Frigate\n",
|
"# export the model for compatibility with Frigate\n",
|
||||||
"\n",
|
"\n",
|
||||||
"model.export(\n",
|
"model.export(\"yolo_nas_s.onnx\",\n",
|
||||||
" \"yolo_nas_s.onnx\",\n",
|
|
||||||
" output_predictions_format=DetectionOutputFormatMode.FLAT_FORMAT,\n",
|
" output_predictions_format=DetectionOutputFormatMode.FLAT_FORMAT,\n",
|
||||||
" max_predictions_per_image=20,\n",
|
" max_predictions_per_image=20,\n",
|
||||||
" num_pre_nms_predictions=300,\n",
|
" num_pre_nms_predictions=300,\n",
|
||||||
@ -68,7 +67,7 @@
|
|||||||
"source": [
|
"source": [
|
||||||
"from google.colab import files\n",
|
"from google.colab import files\n",
|
||||||
"\n",
|
"\n",
|
||||||
"files.download(\"yolo_nas_s.onnx\")"
|
"files.download('yolo_nas_s.onnx')"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user