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

Model file not working #6

Open
PhenomenalOnee opened this issue Dec 19, 2019 · 5 comments
Open

Model file not working #6

PhenomenalOnee opened this issue Dec 19, 2019 · 5 comments

Comments

@PhenomenalOnee
Copy link

When i test the model provided by you :
download link: https://pan.baidu.com/s/10LvoXEUGMTZjufd7R8jh4A
code: 0p5j
i get the following error:
ValueError: You are trying to load a weight file containing 13 layers into a model with 6 layers.
Can you provide the solution.

@ThariqRamadhan101
Copy link

Try to use vgg16_fod_model.h5.

Change code to :
net.fit(MODEL_DIR + 'vgg16_fod_model.h5', MODEL_DIR, LOG_DIR,

@here101
Copy link

here101 commented May 19, 2021

Maybe the version of keras is not compatilbe,you can try to downgrade keras =2.2 or lower.

@simin75simin
Copy link

Maybe the version of keras is not compatilbe,you can try to downgrade keras =2.2 or lower.

i tried keras 2.2.0 and 2.1.0 but none worked. the vgg16 model worked but it's not as good as the demo.

@stevin-dong
Copy link

When i test the model provided by you : download link: https://pan.baidu.com/s/10LvoXEUGMTZjufd7R8jh4A code: 0p5j i get the following error: ValueError: You are trying to load a weight file containing 13 layers into a model with 6 layers. Can you provide the solution.

Hi, has this issue been resolved? I am also encountering this problem now, thank you.

@stevin-dong
Copy link

Maybe the version of keras is not compatilbe,you can try to downgrade keras =2.2 or lower.

i tried keras 2.2.0 and 2.1.0 but none worked. the vgg16 model worked but it's not as good as the demo.

Hi, has this issue been resolved? I am also encountering this problem now, thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants