Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error while loading model #367

Open
cktboy opened this issue Dec 12, 2020 · 1 comment
Open

Error while loading model #367

cktboy opened this issue Dec 12, 2020 · 1 comment
Labels

Comments

@cktboy
Copy link

cktboy commented Dec 12, 2020

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.

@stale
Copy link

stale bot commented Dec 25, 2020

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.

@stale stale bot added the stale label Dec 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant