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

'HParams' object has no attribute 'override_from_dict' #2

Open
JackMicheal opened this issue Jul 9, 2018 · 2 comments
Open

'HParams' object has no attribute 'override_from_dict' #2

JackMicheal opened this issue Jul 9, 2018 · 2 comments

Comments

@JackMicheal
Copy link

JackMicheal commented Jul 9, 2018

Hi, yoshall:

  I've installed tensorflow-gpu 1.2.1 and cuda8.0. An error occurred in line 30 while **train_model.py** was running. Line 30 is  **hps.override_from_dict(hps_dict)** and the error is **'HParams' object has no attribute 'override_from_dict'**. Thus, I‘ve tried some other versions of tensorflow, but the error still exists. Can you give me advice on how to solve this problem ?

Jack

@yoshall
Copy link
Owner

yoshall commented Jul 9, 2018

Hi Jack. I am afraid that this API, i.e., override_from_dict, is not available before the version of 1.5.0. In fact, I test the "train_model.py" over the version of 1.8.0. I would like to suggest that you need to update your TensorFlow up to r1.5.0. Hope this could help you solve this problem.

@JackMicheal
Copy link
Author

Thanks a lot for your suggestion. Replaced with tensorflow v1.8.0 and cuda v9.0, the error disappeared finally.

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