Skip to content

[Feature] Add pointcloud ppo script #1038

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

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

rrzhang139
Copy link

Added baseline ppo script for pointclouds. Useful for oracle (teacher-student) policies.

Note: I wasn't able to fully run this script yet due to OOM errors, please let me know if there are any bugs.

@StoneT2000
Copy link
Member

One issue is for a true point cloud robot learning baseline we need to add code to support sampling configurations if obs_mode="pointcloud", or to use obs_mode="sensor_data" and parse into pointcloud data manually and then sample. Pointcloud data uses a ton of memory relative to the raw sensor data and typically we only sample some points.

@rrzhang139
Copy link
Author

Are there any libraries or code I can reference for adding this sampling configuration? I was thinking of something like passing them directly into the env.

env = gym.make("PickCube-v1", obs_mode="pointcloud", point_cloud_sample=dict(method="fps", n_points=4096))

@rrzhang139
Copy link
Author

@StoneT2000 Could you take a look at this new commit?

@StoneT2000
Copy link
Member

What are the results like for training with PCD on some tasks like PickCube or StackCube?

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

Successfully merging this pull request may close these issues.

2 participants