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

There is an error, when run "python train_ppo.py" #10

Open
xiaoToby opened this issue Dec 26, 2023 · 1 comment
Open

There is an error, when run "python train_ppo.py" #10

xiaoToby opened this issue Dec 26, 2023 · 1 comment

Comments

@xiaoToby
Copy link

The error log:
File "d:/UAV-auto-navigation-and-object-tracking-based-on-RL-main/airsim_rl/train_ppo.py", line 120, in main
rollout.obs[0].copy_(torch.tensor(ob))
RuntimeError: The size of tensor a (112) must match the size of tensor b (256) at non-singleton dimension 3

@jzstudent
Copy link
Owner

check the config json file of airsim, this problem is casued by the image size

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