File "infer.py", line 60, in get_model
model.load_weights('VGG_VOC0712_SSD_300x300_iter_120000.h5', by_name=True)
File "/home/ma/sparsh/anaconda3/envs/pure/lib/python3.7/site-packages/tensorflow/python/keras/engine/training.py", line 2204, in load_weights
with h5py.File(filepath, 'r') as f:
File "/home/ma/sparsh/anaconda3/envs/pure/lib/python3.7/site-packages/h5py/_hl/files.py", line 408, in init
swmr=swmr)
File "/home/ma/sparsh/anaconda3/envs/pure/lib/python3.7/site-packages/h5py/_hl/files.py", line 173, 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 88, in h5py.h5f.open
OSError: Unable to open file (file signature not found)
Sorry, we don't share the file because of file size. Instead, you can download it from the Internet. The original model file is enough. And the model is a public file.
File "infer.py", line 60, in get_model model.load_weights('VGG_VOC0712_SSD_300x300_iter_120000.h5', by_name=True) File "/home/ma/sparsh/anaconda3/envs/pure/lib/python3.7/site-packages/tensorflow/python/keras/engine/training.py", line 2204, in load_weights with h5py.File(filepath, 'r') as f: File "/home/ma/sparsh/anaconda3/envs/pure/lib/python3.7/site-packages/h5py/_hl/files.py", line 408, in init swmr=swmr) File "/home/ma/sparsh/anaconda3/envs/pure/lib/python3.7/site-packages/h5py/_hl/files.py", line 173, 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 88, in h5py.h5f.open OSError: Unable to open file (file signature not found)