Move weights to canonical location

This commit is contained in:
Tobias Eidelpes 2023-02-14 11:22:09 +01:00
parent f9de6912d8
commit fcb21ff0b9
2 changed files with 2 additions and 2 deletions

View File

@ -75,7 +75,7 @@
" for sample in pb(predictions_view):\n",
" image = Image.open(sample.filepath)\n",
" w, h = image.size\n",
" pred = detect(sample.filepath, 'yolo.onnx', 'resnet.onnx')\n",
" pred = detect(sample.filepath, '../weights/yolo.onnx', '../weights/resnet.onnx')\n",
"\n",
" detections = []\n",
" for _, row in pred.iterrows():\n",

View File

@ -25,7 +25,7 @@ with fo.ProgressBar() as pb:
for sample in pb(predictions_view):
image = Image.open(sample.filepath)
w, h = image.size
pred = detect(sample.filepath, 'yolo.onnx', 'resnet.onnx')
pred = detect(sample.filepath, '../weights/yolo.onnx', '../weights/resnet.onnx')
detections = []
for _, row in pred.iterrows():