You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
各位大佬,第一次接触airsim仿真,按照要求装了所需的环境之后,我在ubuntu下,下载了building_99数据集,双击.sh文件运行是可以运行的。但是运行训练文件python scripts/start_train_with_plot.py是报错,错误如下:File "scripts/start_train_with_plot.py", line 35, in main
training_thread = TrainingThread(config_file)
File "/home/xzc/UAV/UAV_Navigation_DRL_AirSim/scripts/utils/thread_train.py", line 54, in init
self.env = gym.make('airsim-env-v0')
File "/home/xzc/miniconda3/envs/airsim/lib/python3.8/site-packages/gym/envs/registration.py", line 669, in make
env = PassiveEnvChecker(env)
File "/home/xzc/miniconda3/envs/airsim/lib/python3.8/site-packages/gym/wrappers/env_checker.py", line 20, in init
assert hasattr(
AssertionError: The environment must specify an action space. https://www.gymlibrary.dev/content/environment_creation/,这个环境这里还需要改什么地方哇,恳请大佬帮助
The text was updated successfully, but these errors were encountered:
各位大佬,第一次接触airsim仿真,按照要求装了所需的环境之后,我在ubuntu下,下载了building_99数据集,双击.sh文件运行是可以运行的。但是运行训练文件python scripts/start_train_with_plot.py是报错,错误如下:File "scripts/start_train_with_plot.py", line 35, in main
training_thread = TrainingThread(config_file)
File "/home/xzc/UAV/UAV_Navigation_DRL_AirSim/scripts/utils/thread_train.py", line 54, in init
self.env = gym.make('airsim-env-v0')
File "/home/xzc/miniconda3/envs/airsim/lib/python3.8/site-packages/gym/envs/registration.py", line 669, in make
env = PassiveEnvChecker(env)
File "/home/xzc/miniconda3/envs/airsim/lib/python3.8/site-packages/gym/wrappers/env_checker.py", line 20, in init
assert hasattr(
AssertionError: The environment must specify an action space. https://www.gymlibrary.dev/content/environment_creation/,这个环境这里还需要改什么地方哇,恳请大佬帮助
The text was updated successfully, but these errors were encountered: