Open bjyxsz opened 4 years ago
I think that the your current working directory does not match the project directory. You can discover your current working directory using this
Hi, I am a beginner in deep-QLearing, I have installed the tensorflow successfully. when i input "python training_main.py", there is an error of "python: can't open file 'training_main.py': [Errno 2] No such file or directory". and then i input the full path of training_main.py, the feedback is shown as follows: File "D:\mygit_repository\Deep-QLearning-Agent-for-Traffic-Signal-Control-master\TLCS\training_main.py", line 18, in config = import_train_configuration(config_file='training_settings.ini') File "D:\mygit_repository\Deep-QLearning-Agent-for-Traffic-Signal-Control-master\TLCS\utils.py", line 14, in import_train_configuration config['gui'] = content['simulation'].getboolean('gui') File "D:\anaconda\envs\tf_gpu\lib\configparser.py", line 958, in getitem raise KeyError(key) KeyError: 'simulation' i do not know how to do with it, could you help me?
Hello, I have the same problem: KeyError: 'simulation' Did you fix it? Could you please help me?
Hi, I am a beginner in deep-QLearing, I have installed the tensorflow successfully. when i input "python training_main.py", there is an error of "python: can't open file 'training_main.py': [Errno 2] No such file or directory". and then i input the full path of training_main.py, the feedback is shown as follows: File "D:\mygit_repository\Deep-QLearning-Agent-for-Traffic-Signal-Control-master\TLCS\training_main.py", line 18, in config = import_train_configuration(config_file='training_settings.ini') File "D:\mygit_repository\Deep-QLearning-Agent-for-Traffic-Signal-Control-master\TLCS\utils.py", line 14, in import_train_configuration config['gui'] = content['simulation'].getboolean('gui') File "D:\anaconda\envs\tf_gpu\lib\configparser.py", line 958, in getitem raise KeyError(key) KeyError: 'simulation' i do not know how to do with it, could you help me?
Hello, I have the same problem: KeyError: 'simulation' Did you fix it? Could you please help me?
same problem? no one is here?
To solver the issue:
Run the file from the directory TLCS not Deep-QLearning-Agent-for-Traffic-Signal-Control
Deep-QLearning-Agent-for-Traffic-Signal-Control> cd TLCS Deep-QLearning-Agent-for-Traffic-Signal-Control\TLCS> python training_main.py
Hi, I am a beginner in deep-QLearing, I have installed the tensorflow successfully. when i input "python training_main.py", there is an error of "python: can't open file 'training_main.py': [Errno 2] No such file or directory". and then i input the full path of training_main.py, the feedback is shown as follows: File "D:\mygit_repository\Deep-QLearning-Agent-for-Traffic-Signal-Control-master\TLCS\training_main.py", line 18, in
config = import_train_configuration(config_file='training_settings.ini')
File "D:\mygit_repository\Deep-QLearning-Agent-for-Traffic-Signal-Control-master\TLCS\utils.py", line 14, in import_train_configuration
config['gui'] = content['simulation'].getboolean('gui')
File "D:\anaconda\envs\tf_gpu\lib\configparser.py", line 958, in getitem
raise KeyError(key)
KeyError: 'simulation'
i do not know how to do with it, could you help me?