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

Update requirements "h5py" missing in README #5

Merged
merged 1 commit into from Nov 14, 2017

Conversation

suizman
Copy link
Contributor

@suizman suizman commented Nov 13, 2017

Executing output.py returns the following error:

$ python output.py                                                                                              v8.8.1 | 01:08 
Using TensorFlow backend.
/usr/lib/python3.6/importlib/_bootstrap.py:219: RuntimeWarning: compiletime version 3.5 of module 'tensorflow.python.framework.fast_tensor_util' does not match runtime version 3.6
  return f(*args, **kwds)
2017-11-13 13:11:08.607633: I tensorflow/core/platform/cpu_feature_guard.cc:137] Your CPU supports instructions that this TensorFlow binary was not compiled to use: SSE4.1 SSE4.2 AVX AVX2 FMA
Traceback (most recent call last):
  File "output.py", line 38, in <module>
    model.load_weights(weight_path)
  File "/usr/lib/python3.6/site-packages/keras/engine/topology.py", line 2615, in load_weights
    raise ImportError('`load_weights` requires h5py.')
ImportError: `load_weights` requires h5py.

Adding h5py (2.7.1) to requirements list fix the issue

Executing "$ python output.py" returns the following error:

Using TensorFlow backend.
/usr/lib/python3.6/importlib/_bootstrap.py:219: RuntimeWarning: compiletime version 3.5 of module 'tensorflow.python.framework.fast_tensor_util' does not match runtime version 3.6
  return f(*args, **kwds)
2017-11-13 13:11:08.607633: I tensorflow/core/platform/cpu_feature_guard.cc:137] Your CPU supports instructions that this TensorFlow binary was not compiled to use: SSE4.1 SSE4.2 AVX AVX2 FMA
Traceback (most recent call last):
  File "output.py", line 38, in <module>
    model.load_weights(weight_path)
  File "/usr/lib/python3.6/site-packages/keras/engine/topology.py", line 2615, in load_weights
    raise ImportError('`load_weights` requires h5py.')
ImportError: `load_weights` requires h5py.

Adding h5py (2.7.1) to requirements list.
@OsciiArt OsciiArt merged commit 08087af into OsciiArt:master Nov 14, 2017
@OsciiArt
Copy link
Owner

Thank you for your pull request.
I'm sorry for my mistake.
I merged.

@suizman
Copy link
Contributor Author

suizman commented Nov 14, 2017

@OsciiArt you're welcome

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

Successfully merging this pull request may close these issues.

None yet

2 participants