LSTM-Neural-Network-for-Time-Series-Prediction icon indicating copy to clipboard operation
LSTM-Neural-Network-for-Time-Series-Prediction copied to clipboard

KeyError: 'save_dir'

Open ghost opened this issue 4 years ago • 1 comments

PS C:\Users\iketu\Documents\Machine Learning Notebooks\LSTM Time Series Prediction> python run.py 2020-07-24 11:03:32.566952: W tensorflow/stream_executor/platform/default/dso_loader.cc:55] Could not load dynamic library 'cudart64_101.dll'; dlerror: cudart64_101.dll not found 2020-07-24 11:03:32.567274: I tensorflow/stream_executor/cuda/cudart_stub.cc:29] Ignore above cudart dlerror if you do not have a GPU set up on your machine. Traceback (most recent call last): File "run.py", line 86, in main() File "run.py", line 33, in main if not os.path.exists(configs['model']['save_dir']): os.makedirs(configs['model']['save_dir']) KeyError: 'save_dir'

Screenshot (4)

ghost avatar Jul 24 '20 05:07 ghost

Hi, you simply dont have the "save_dir" in your config.json. Or you have in not in the "model" attribute.

VincieD avatar Aug 05 '20 10:08 VincieD