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

Sometimes Actions of the agent does not take effect to envs! #497

Open
Yonggie opened this issue May 24, 2024 · 4 comments
Open

Sometimes Actions of the agent does not take effect to envs! #497

Yonggie opened this issue May 24, 2024 · 4 comments
Assignees

Comments

@Yonggie
Copy link

Yonggie commented May 24, 2024

🐛 Bug

On the tag home-robot-ovmm-challenge-2024 branch, the actions of any agent does not take effect to the env no matter what kind of agent I choose.

The visualization stays the same as follows:
图片

图片

My agent keeps saying turn right but the observation from env stays the same:
图片

I just checked my earlier challenge project at nips'23, it turns to be just the same, which was not...

I'm not sure this is a package trouble or my machine trouble...

I wonder what kind of hardware problem would cause such weird issue>>? GPU/CPU out of memory?

@Yonggie
Copy link
Author

Yonggie commented May 27, 2024

I highly suspect that this could be a GPU memory insufficient problem! It gets back to normal the other day! But how come no warnings or exceptions coming out?

@Yonggie Yonggie changed the title Actions of the agent does not take effect to envs on branch home-robot-ovmm-challenge-2024 Sometimes Actions of the agent does not take effect to envs! May 27, 2024
@GuanxingLu
Copy link

I have also encountered a similar problem...

@yvsriram
Copy link
Contributor

yvsriram commented May 27, 2024

The agent wouldn't move if the action takes it outside the navmesh. We can print warnings here if it tries to move outside the navmesh.

But @Yonggie it should be able to rotate in the screenshot you shared. I doubt if it is a hardware issue. Can you check if you are using the right habitat-lab commit?

@GuanxingLu were you running the default agent too?

@yvsriram yvsriram self-assigned this May 27, 2024
@Yonggie
Copy link
Author

Yonggie commented May 28, 2024

I think it's about the hardware, cus it got back to normal yesterday with the same device and same codes. But I wonder how come there's no warnings or exceptions even when encoutered insufficient hardware requirements?

Fyi, this is the habitat-lab version & commit:
version:

habitat-baselines             0.2.5              /share/home-robot/src/third_party/habitat-lab/habitat-baselines
habitat-lab                   0.2.5              /share/home-robot/src/third_party/habitat-lab/habitat-lab

git log:

commit b727ca9f7123101aaedb737ca9ccc1b153525dd9 (HEAD)
Author: Sriram Yenamandra <[email protected]>
Date:   Thu Nov 2 12:27:23 2023 -0400

    fix camera_pose update it to be relative to agent start

commit d965bd0264f857845d3d0167806ff17b994c6441
Author: Sriram Yenamandra <[email protected]>
:...skipping...
commit b727ca9f7123101aaedb737ca9ccc1b153525dd9 (HEAD)
Author: Sriram Yenamandra <[email protected]>
Date:   Thu Nov 2 12:27:23 2023 -0400

    fix camera_pose update it to be relative to agent start

commit d965bd0264f857845d3d0167806ff17b994c6441
Author: Sriram Yenamandra <[email protected]>
Date:   Sun Sep 24 15:03:24 2023 -0400

    remove debug statements

commit 10a6e87380ef6eb36e6b2f04af62b74df69a2a7e
Author: Sriram Yenamandra <[email protected]>
Date:   Sat Sep 23 00:59:21 2023 -0400

    fix: saved ckpts no longer have actor_critic prefix

commit 6af72390cdcae262d63ab8755209b8ed8d2d9272
Merge: aef3de86 17ec6b3c
Author: Sriram Yenamandra <[email protected]>
Date:   Fri Sep 22 16:09:16 2023 -0400

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

3 participants