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

Need tensorflow 2.2.0 for Python 3.6 #2

Open
redsigma opened this issue Jun 28, 2020 · 1 comment
Open

Need tensorflow 2.2.0 for Python 3.6 #2

redsigma opened this issue Jun 28, 2020 · 1 comment

Comments

@redsigma
Copy link

The version 2.4.3 of keras does not work with tensorflow 2.2.0 on python 3.7

File "/home/pi/.pyenv/versions/3.7.7/lib/python3.7/site-packages/tensorflow_core/python/keras/saving/save.py", line 146, in load_model
return hdf5_format.load_model_from_hdf5(filepath, custom_objects, compile)
File "/home/pi/.pyenv/versions/3.7.7/lib/python3.7/site-packages/tensorflow_core/python/keras/saving/hdf5_format.py", line 184, in load_model_from_hdf5
training_config, custom_objects))
File "/home/pi/.pyenv/versions/3.7.7/lib/python3.7/site-packages/tensorflow_core/python/keras/saving/saving_utils.py", line 242, in compile_args_from_training_config
sample_weight_mode = training_config['sample_weight_mode']
KeyError: 'sample_weight_mode'

Even if i pass a hdf5 checkpoint or a fully saved model .h5 , the error is the same.

I have tested another built of tensorflow 2.2.0 but for a amd64 linux machine with python 3.6.10 and it worked without any problems.

If you could post reupload the python3.6 builds it would be great.

@Qengineering
Copy link
Owner

Please find the Python3.6 wheel (tensorflow-2.2.0-cp36-cp36-linux_aarch64.whl) at our 64 bit section. https://github.com/Qengineering/TensorFlow-Raspberry-Pi_64-bit

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

2 participants