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

generate_trajectories.py #101

Open
Halmoni100 opened this issue Oct 25, 2021 · 2 comments
Open

generate_trajectories.py #101

Halmoni100 opened this issue Oct 25, 2021 · 2 comments

Comments

@Halmoni100
Copy link

Hello, I'm trying to run "generate_trajectories.py" per the instructions in the markdown file.

However, I get errors of the following type

if constants.data_dict['pddl_params']['object_sliced']:
KeyError: 'pddl_params'

And also

File "/home/mrincredible/Projects/independent-research/test-alfred/alfred/gen/game_states/task_game_state.py", line 318, in setup_problem
    raise Exception("Couldn't find a valid receptacle object of class '%s'" % objs['receptacle'])
Exception: Couldn't find a valid receptacle object of class X

And some other errors.

I was wondering what could be going on? Thanks!

@MohitShridhar
Copy link
Collaborator

@Halmoni100 can you point me to the line where the first error happens?

Exception: Couldn't find a valid receptacle object of class X

This is expected. Some task goals have no valid solutions like "put an apple in a bowl" in a randomly sampled scene with no bowls.

@Samuel-Fipps
Copy link

Samuel-Fipps commented Jan 28, 2023

I'm getting the same thing with none of them working with over 1,000 error's
90% of the errors are KeyError: 'pddl_params'

Found the answer: #104

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