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

how to retrain with the pre-trained model ? #4

Open
ucasiggcas opened this issue Nov 21, 2019 · 2 comments
Open

how to retrain with the pre-trained model ? #4

ucasiggcas opened this issue Nov 21, 2019 · 2 comments

Comments

@ucasiggcas
Copy link

hi,dear,

Could you please tell me how to retrain with the 0.74 acc model ?
I only know the keras.applications.ResNet50, could the pre-trained model be loaded by the function ?
then no need to set other parameter ??

any advice or suggestion will be appreciated.

thx

@ucasiggcas
Copy link
Author

with the func keras.applications.ResNet50 and the pre-trained model to be loaded
I got the error
ValueError: You are trying to load a weight file containing 107 layers into a model with 106 layers.
So what's the problem ?
how to solve it ?
thx

@ucasiggcas
Copy link
Author

>>> keras.__version__
'2.2.4'
>>> import tensorflow as tf
>>> tf.__version__
'1.14.0'

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

1 participant