-
Notifications
You must be signed in to change notification settings - Fork 11
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 conversion weights size mismatch #25
Comments
I was unable to reproduce this issue. See gist. I see that you used EDIT: However, I get a warning "WARNING:tensorflow:Inconsistent references when loading the checkpoint into this object graph (...)". It might be related to what you are observing, but it does not result in an error. |
I have tried with Some example: I guess it's fine for running inference, but should be fully wrapped to resume training. Working lines, whereby the full_model has been created including the GAModelWrapper component. |
@dbouget As you found a fix, I will close this issue. If these warning results in any breaking issues, please, let me know and I will re-open the issue again. |
Purpose: converting a trained model's precision from float16 to float32.
Issue: the set_weights method indicates a size mismatch without recreating the model by wrapping it inside the GAModelWrapper, converts fine when wrapped.
The text was updated successfully, but these errors were encountered: