D:\anaconda\envs\uavsim\python.exe scripts\start_evaluate_with_plot.py
Traceback (most recent call last):
File "scripts\start_evaluate_with_plot.py", line 62, in
main()
File "scripts\start_evaluate_with_plot.py", line 36, in main
gui = TrainingUi(config=config_file)
File "E:\DRL\UAV_Navigation_DRL_AirSim-main\UAV_Navigation_DRL_AirSim-main\scripts\utils\ui_train.py", line 37, in init
self.init_ui()
File "E:\DRL\UAV_Navigation_DRL_AirSim-main\UAV_Navigation_DRL_AirSim-main\scripts\utils\ui_train.py", line 59, in init_ui
self.dynamics = self.cfg.get('options', 'dynamic_name')
File "D:\anaconda\envs\uavsim\lib\configparser.py", line 781, in get
d = self._unify_values(section, vars)
File "D:\anaconda\envs\uavsim\lib\configparser.py", line 1149, in _unify_values
raise NoSectionError(section) from None
configparser.NoSectionError: No section: 'options'
Traceback (most recent call last):
File "scripts\start_evaluate_with_plot.py", line 62, in
main()
File "scripts\start_evaluate_with_plot.py", line 36, in main
gui = TrainingUi(config=config_file)
File "E:\DRL\UAV_Navigation_DRL_AirSim-main\UAV_Navigation_DRL_AirSim-main\scripts\utils\ui_train.py", line 37, in init
self.init_ui()
File "E:\DRL\UAV_Navigation_DRL_AirSim-main\UAV_Navigation_DRL_AirSim-main\scripts\utils\ui_train.py", line 59, in init_ui
self.dynamics = self.cfg.get('options', 'dynamic_name')
File "D:\anaconda\envs\uavsim\lib\configparser.py", line 781, in get
d = self._unify_values(section, vars)
File "D:\anaconda\envs\uavsim\lib\configparser.py", line 1149, in _unify_values
raise NoSectionError(section) from None
configparser.NoSectionError: No section: 'options'
在训练时可以正常运行,在以logs目录下保存的文件夹为eval path运行evaluate的时候就会报错,报错如下:
D:\anaconda\envs\uavsim\python.exe scripts\start_evaluate_with_plot.py Traceback (most recent call last): File "scripts\start_evaluate_with_plot.py", line 62, in
main()
File "scripts\start_evaluate_with_plot.py", line 36, in main
gui = TrainingUi(config=config_file)
File "E:\DRL\UAV_Navigation_DRL_AirSim-main\UAV_Navigation_DRL_AirSim-main\scripts\utils\ui_train.py", line 37, in init
self.init_ui()
File "E:\DRL\UAV_Navigation_DRL_AirSim-main\UAV_Navigation_DRL_AirSim-main\scripts\utils\ui_train.py", line 59, in init_ui
self.dynamics = self.cfg.get('options', 'dynamic_name')
File "D:\anaconda\envs\uavsim\lib\configparser.py", line 781, in get
d = self._unify_values(section, vars)
File "D:\anaconda\envs\uavsim\lib\configparser.py", line 1149, in _unify_values
raise NoSectionError(section) from None
configparser.NoSectionError: No section: 'options'
我将eval_path改成logs_eval\SimpleAvoid\sac-reawrd-1下的文件夹仍会报错:
Traceback (most recent call last): File "scripts\start_evaluate_with_plot.py", line 62, in
main()
File "scripts\start_evaluate_with_plot.py", line 36, in main
gui = TrainingUi(config=config_file)
File "E:\DRL\UAV_Navigation_DRL_AirSim-main\UAV_Navigation_DRL_AirSim-main\scripts\utils\ui_train.py", line 37, in init
self.init_ui()
File "E:\DRL\UAV_Navigation_DRL_AirSim-main\UAV_Navigation_DRL_AirSim-main\scripts\utils\ui_train.py", line 59, in init_ui
self.dynamics = self.cfg.get('options', 'dynamic_name')
File "D:\anaconda\envs\uavsim\lib\configparser.py", line 781, in get
d = self._unify_values(section, vars)
File "D:\anaconda\envs\uavsim\lib\configparser.py", line 1149, in _unify_values
raise NoSectionError(section) from None
configparser.NoSectionError: No section: 'options'
请问大佬这是什么原因啊,本人强化学习小白,希望大佬解答一下,非常感谢!