~\AppData\Roaming\Python\Python36\site-packages\tensorflow\python\keras\saving\hdf5_format.py in load_model_from_hdf5(filepath, custom_objects, compile)
173 model_config = f.attrs.get('model_config')
174 if model_config is None:
--> 175 raise ValueError('No model found in config file.')
176 model_config = json.loads(model_config.decode('utf-8'))
177 model = model_config_lib.model_from_config(model_config,
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
model downloaded from provided link for model VGG_VOC0712_SSD_300x300_iter_120000.h5'
tried with other model links, but getting same error
code:
model = load_model(model_path, custom_objects={'AnchorBoxes': AnchorBoxes, 'L2Normalization': L2Normalization, 'DecodeDetections': DecodeDetections, 'compute_loss': ssd_loss.compute_loss})
Error:
~\AppData\Roaming\Python\Python36\site-packages\tensorflow\python\keras\saving\hdf5_format.py in load_model_from_hdf5(filepath, custom_objects, compile) 173 model_config = f.attrs.get('model_config') 174 if model_config is None: --> 175 raise ValueError('No model found in config file.') 176 model_config = json.loads(model_config.decode('utf-8')) 177 model = model_config_lib.model_from_config(model_config,
ValueError: No model found in config file.