how to solve this problem?pleas
Crush6666 opened this issue · 1 comments
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
I also encountered the same problem, do not know how to solve