-
Notifications
You must be signed in to change notification settings - Fork 30
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) when dannce-predict #148
Comments
• (tf23) F:\finnaldannce\demo_video\mouse_4>dannce-predict dannce_mouse_config_4.yaml |
I use the dannce_master branch, and all steps follow the instruction, except I pip install tensorflow==2.3.1.
The information of traceback:
`Traceback (most recent call last):
File "E:\anaconda\envs\tf23\Scripts\dannce-predict-script.py", line 33, in
sys.exit(load_entry_point('dannce', 'console_scripts', 'dannce-predict')())
File "f:\finnaldannce\dannce_master\dannce\cli.py", line 54, in dannce_predict_cli
dannce_predict(params)
File "f:\finnaldannce\dannce_master\dannce\interface.py", line 1534, in dannce_predict
"centered_euclidean_distance_3D": losses.centered_euclidean_distance_3D,
File "E:\anaconda\envs\tf23\lib\site-packages\tensorflow\python\keras\saving\save.py", line 182, in load_model
return hdf5_format.load_model_from_hdf5(filepath, custom_objects, compile)
File "E:\anaconda\envs\tf23\lib\site-packages\tensorflow\python\keras\saving\hdf5_format.py", line 178, in load_model_from_hdf5 custom_objects=custom_objects)
File "E:\anaconda\envs\tf23\lib\site-packages\tensorflow\python\keras\saving\model_config.py", line 55, in model_from_config
return deserialize(config, custom_objects=custom_objects)
File "E:\anaconda\envs\tf23\lib\site-packages\tensorflow\python\keras\layers\serialization.py", line 175, in deserialize
printable_module_name='layer')
File "E:\anaconda\envs\tf23\lib\site-packages\tensorflow\python\keras\utils\generic_utils.py", line 358, in deserialize_keras_object
list(custom_objects.items())))
File "E:\anaconda\envs\tf23\lib\site-packages\tensorflow\python\keras\engine\functional.py", line 617, in from_config
config, custom_objects)
File "E:\anaconda\envs\tf23\lib\site-packages\tensorflow\python\keras\engine\functional.py", line 1204, in reconstruct_from_config
process_layer(layer_data)
File "E:\anaconda\envs\tf23\lib\site-packages\tensorflow\python\keras\engine\functional.py", line 1186, in process_layer
layer = deserialize_layer(layer_data, custom_objects=custom_objects)
File "E:\anaconda\envs\tf23\lib\site-packages\tensorflow\python\keras\layers\serialization.py", line 175, in deserialize
printable_module_name='layer')
File "E:\anaconda\envs\tf23\lib\site-packages\tensorflow\python\keras\utils\generic_utils.py", line 358, in deserialize_keras_object
list(custom_objects.items())))
File "E:\anaconda\envs\tf23\lib\site-packages\tensorflow\python\keras\layers\core.py", line 1006, in from_config
config, custom_objects, 'function', 'module', 'function_type')
File "E:\anaconda\envs\tf23\lib\site-packages\tensorflow\python\keras\layers\core.py", line 1058, in _parse_function_from_config
config[func_attr_name], globs=globs)
File "E:\anaconda\envs\tf23\lib\site-packages\tensorflow\python\keras\utils\generic_utils.py", line 457, in func_load
code = marshal.loads(raw_code)
ValueError: bad marshal data (unknown type code)`
The text was updated successfully, but these errors were encountered: