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

How to get more obs information from env.step()? #755

Open
GF-Huang opened this issue Mar 8, 2024 · 2 comments
Open

How to get more obs information from env.step()? #755

GF-Huang opened this issue Mar 8, 2024 · 2 comments
Labels
question Issue is a question

Comments

@GF-Huang
Copy link
Contributor

GF-Huang commented Mar 8, 2024

Just like MineDojo OBSERVATION SPACE:

Our observation space mainly includes nine parts: (1) egocentric RGB frames, (2) equipment, (3) inventory, (4) inventory change, (5) voxels (surrounding blocks), (6) life statistics, (7) location statistics, (8) nearby tools, and (9) damage source. We elaborate the privileged lidar observation in Privileged Observations.

I want to make custom reward function, so I need above obs information, but I prefer to MineRL's action space which more like human.

Is there any easy way to get more obs information without modify the Java source code?

@Miffyli
Copy link
Contributor

Miffyli commented Mar 8, 2024

Hey. Unfortunately not there are no easy ways to modify the Java code to give this information. However you could look at other projects that cite MineDojo paper if any of them did this, e.g. JARVIS-1. As far as I understood they might have an environment that is a combination of MineDojo and the MineRL-v1.0.

@Miffyli Miffyli added the question Issue is a question label Mar 8, 2024
@KarolisRam
Copy link
Contributor

check the info part returned by acting in the HumanSurvival env, it has at least some of the things you're looking for - coordinates, inventory and some more. Some of them (like life) are returned, but don't actually work though the last time I checked.

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

No branches or pull requests

3 participants