We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
with open("./Models/gen.json", "r") as json_file: model_json = json_file.read() model = model_from_json(model_json, custom_objects={"Conv2DMod": Conv2DMod}) model.load_weights("./Models/gen_19.h5")
ValueError: bad marshal data (unknown type code)
I get this error when trying to load pretrained model gen.json and genMA.json.
gen.json
genMA.json
Versions: tensorflow = "2.2.3" tf.keras.__version__ == 2.3.0-tf
tensorflow = "2.2.3"
tf.keras.__version__ == 2.3.0-tf
Also tried higher version of tensorflow like 2.5.0 and still did not work.
2.5.0
The text was updated successfully, but these errors were encountered:
No branches or pull requests
ValueError: bad marshal data (unknown type code)
I get this error when trying to load pretrained model
gen.json
andgenMA.json
.Versions:
tensorflow = "2.2.3"
tf.keras.__version__ == 2.3.0-tf
Also tried higher version of tensorflow like
2.5.0
and still did not work.The text was updated successfully, but these errors were encountered: