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

how to solve this problem?pleas #16

Open
Crush6666 opened this issue Apr 12, 2022 · 1 comment
Open

how to solve this problem?pleas #16

Crush6666 opened this issue Apr 12, 2022 · 1 comment

Comments

@Crush6666
Copy link

File "C:/Users/11067/Desktop/TrafficFlowPrediction-master/TrafficFlowPrediction-master/main.py", line 127, in
main()
File "C:/Users/11067/Desktop/TrafficFlowPrediction-master/TrafficFlowPrediction-master/main.py", line 98, in main
gru = load_model('model/gru.h5')
File "D:\programdate\anaconda3\envs\tf2\lib\site-packages\keras\engine\saving.py", line 492, in load_wrapper
return load_function(*args, **kwargs)
File "D:\programdate\anaconda3\envs\tf2\lib\site-packages\keras\engine\saving.py", line 584, in load_model
model = _deserialize_model(h5dict, custom_objects, compile)
File "D:\programdate\anaconda3\envs\tf2\lib\site-packages\keras\engine\saving.py", line 273, in _deserialize_model
model_config = json.loads(model_config.decode('utf-8'))
AttributeError: 'str' object has no attribute 'decode'

Process finished with exit code 1

@SHAOTAO1998
Copy link

I also encountered the same problem, do not know how to solve

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