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 many actions are there in BabaAI-text environment? #28

Open
kiriwu opened this issue Aug 1, 2024 · 1 comment
Open

How many actions are there in BabaAI-text environment? #28

kiriwu opened this issue Aug 1, 2024 · 1 comment

Comments

@kiriwu
Copy link

kiriwu commented Aug 1, 2024

For "BabyAI-MixedTrainLocal-v0", the action_space is Discrete(7),
while in experiments/configs/local_gpu_config.yaml, the action_space is ["turn_left","turn_right","go_forward","pick_up","drop","toggle"], which is Discrete(6).

So how many actions are in "BabyAI-MixedTrainLocal-v0"? and what exact actions they are?
they are not ["turn_left","turn_right","go_forward","pick_up","drop","toggle"]?

@ClementRomac
Copy link
Contributor

Hi,

Our environment extends BabyAI, which has 7 actions:

The actions we specify in our config are the ones we authorize the LLM to score (we removed the "done" action from the list you show). Our code then parses this list and replaces underscores with spaces:

for a in config_args.rl_script_args.action_space:

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