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

Mismatch between high-level and low-level actions after preprocessing #123

Open
RavenKiller opened this issue Sep 16, 2022 · 1 comment
Open
Labels
bug Something isn't working

Comments

@RavenKiller
Copy link

Hello!

I'm new to ALFRED and trying to learn it. After reading #84, I find there is still a mismatch between high-level and low-level actions after preprocessing. For example, in pick_two_obj_and_place-AppleSliced-None-CounterTop-10/trial_T20190907_061009_396474, the generated low_to_high_idx is [..., 10, 11, 11, 13]. However, 13 is out of the bound of instr list and also exceeds the maximum high_idx in action_high (which is 12).

I'm not sure if it is a bug because this phenomenon does not cause problems when training baseline models. I think the reason is this line:

conv['num']['action_low'][-1][0]['high_idx'] = len(conv['plan']['high_pddl']) - 1

which may be better like this:

conv['num']['action_low'][-1][0]['high_idx'] = conv['plan']['high_pddl'][-1]['high_idx'] - 1
@MohitShridhar
Copy link
Collaborator

@RavenKiller, sorry for the late reply.

I'll look into this when I get some time. But for now, yeah, if you visualize those high-level actions, and it makes sense to merge/discard them, then use your fix.

@MohitShridhar MohitShridhar added the bug Something isn't working label Sep 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants