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

SSD300MobileNet predicts bad results #17

Open
jescur opened this issue Jan 7, 2019 · 3 comments
Open

SSD300MobileNet predicts bad results #17

jescur opened this issue Jan 7, 2019 · 3 comments

Comments

@jescur
Copy link

jescur commented Jan 7, 2019

Hi there,

I tried to run the code in SSD.ipynb just like you have it: with the model ssd300MobileNet, and picking the weights you provide at https://drive.google.com/drive/u/0/folders/1F8GjD3BFhf_hv9Ipez0twRptYc3P8YwP (MobileNetSSD300weights_voc_2007.hdf5), and I get these results:

cat_car
kids

you can see they have nothing to do with the results you present.

Could you tell me what can be wrong? Are the weights the correct ones? Is the model working?

Thanks!

@tanakataiki
Copy link
Owner

It's not fully trained yet so you need to retrain father.
but using pretrained weight is at least better than trainning from scratch

@luismikg
Copy link

luismikg commented Mar 8, 2019

Hi!
I have got the same issue but I think I have found the solution:
on this line:
model.load_weights('./MobileNetSSD300weights_voc_2007.hdf5', by_name=True)
change by:
model.load_weights('./MobileNetSSD300weights_voc_2007.hdf5', by_name=False)
and try again.
I cannot understand what it is the meaning of the parameter "by_name",
Please tell us if this solution works for you in order to help all users to understand better this model.

@luismikg
Copy link

Ok!, I have reviewed this model again, I have discovered that the model has changed and now to set by_name=False get an error. If you retrain it. The model will work better. However, It means that the first weights Maybe do they have a kind of error?

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

3 participants