theAIGuysCode / yolov3_deepsort

Object tracking implemented with YOLOv3, Deep Sort and Tensorflow.
GNU General Public License v3.0
337 stars 186 forks source link

when the code for web cam #48

Closed mikekwabs closed 9 months ago

mikekwabs commented 3 years ago

Traceback (most recent call last): File "/content/Single-Multiple-Custom-Object-Detection-and-Tracking/object_tracker.py", line 163, in app.run(main) File "/usr/local/lib/python3.7/dist-packages/absl/app.py", line 303, in run _run_main(main, args) File "/usr/local/lib/python3.7/dist-packages/absl/app.py", line 251, in _run_main sys.exit(main(argv)) File "/content/Single-Multiple-Custom-Object-Detection-and-Tracking/object_tracker.py", line 54, in main yolo.load_weights(FLAGS.weights) File "/usr/local/lib/python3.7/dist-packages/tensorflow/python/keras/engine/training.py", line 2319, in load_weights with h5py.File(filepath, 'r') as f: File "/usr/local/lib/python3.7/dist-packages/h5py/_hl/files.py", line 427, in init swmr=swmr) File "/usr/local/lib/python3.7/dist-packages/h5py/_hl/files.py", line 190, in make_fid fid = h5f.open(name, flags, fapl=fapl) File "h5py/_objects.pyx", line 54, in h5py._objects.with_phil.wrapper File "h5py/_objects.pyx", line 55, in h5py._objects.with_phil.wrapper File "h5py/h5f.pyx", line 96, in h5py.h5f.open OSError: Unable to open file (file signature not found)