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

" AttributeError: 'str' object has no attribute 'decode'" on running train.py #12

Open
airqualityanthony opened this issue Nov 17, 2020 · 0 comments

Comments

@airqualityanthony
Copy link

If it's slow, compile protobuf and tensorflow from source!
[FIXME]: only LAPS model is supported
Traceback (most recent call last):
File "train.py", line 64, in
model = train_network(load_model(NAME, best=True),
File "train.py", line 47, in load_model
model = keras.models.load_model(best_path)
File "C:\Users\walke\anaconda3\envs\chess-env\lib\site-packages\keras\models.py", line 239, in load_model
model_config = json.loads(model_config.decode('utf-8'))
AttributeError: 'str' object has no attribute 'decode'

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