Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

运行求助 #35

Open
xinzhichao opened this issue Apr 25, 2024 · 1 comment
Open

运行求助 #35

xinzhichao opened this issue Apr 25, 2024 · 1 comment

Comments

@xinzhichao
Copy link

各位大佬,第一次接触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/,这个环境这里还需要改什么地方哇,恳请大佬帮助

@SuperheroZLP
Copy link

你好,请问你解决问题了吗?有训练出适合的模型吗?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants