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

ValueError: bad marshal data (unknown type code) #5

Open
KevinRK27 opened this issue May 16, 2022 · 0 comments
Open

ValueError: bad marshal data (unknown type code) #5

KevinRK27 opened this issue May 16, 2022 · 0 comments

Comments

@KevinRK27
Copy link

i followed the step 1 provided on the github but i get this error
home/kevinrk/.local/lib/python3.8/site-packages/tensorflow/python/keras/backend.py:437: UserWarning: tf.keras.backend.set_learning_phase is deprecated and will be removed after 2020-10-11. To update it, simply pass a True/False value to the training argument of the __call__ method of your layer or model.
warnings.warn('tf.keras.backend.set_learning_phase is deprecated and '
Traceback (most recent call last):
File "h5topb.py", line 13, in
model = load_model(MODEL_PATH)
File "/home/kevinrk/.local/lib/python3.8/site-packages/keras/utils/traceback_utils.py", line 67, in error_handler
raise e.with_traceback(filtered_tb) from None
File "/home/kevinrk/.local/lib/python3.8/site-packages/keras/utils/generic_utils.py", line 793, in func_load
code = marshal.loads(raw_code)
ValueError: bad marshal data (unknown type code)

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