-
Notifications
You must be signed in to change notification settings - Fork 318
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
RuntimeError: Unable to create attribute (Object header message is too large) #8
Comments
###USE get_weights AND set_weights TO SAVE AND LOAD MODEL, RESPECTIVELY. ############################################################################## #Assuming that this is your model architecture. However, you may use ################################################################################ #now, use pickle to save your model weights, instead of .h5 ################################################################################ pklfile= "D:/modelweights.pkl"
except:
restoredmodel= mymodel() ################################################################################ |
open this drive link and read the same above code properly: https://drive.google.com/open?id=1xzrqP7ExTmJiZqVt0A_G6AT69EbIjEI9tUDLD1twqj8 |
Running the files unmodified in Python 3.6.4 on windows I get the following trace:
running
pip3 show
for the libraries:Can you tell me what versions you are using? Seems to be a known problem with Keras per: keras-team/keras#6766 but I assume there's a version that works. Thanks!
The text was updated successfully, but these errors were encountered: