Skip to content

ValueError: Unknown information requested: ['expert_plan', 'expert_type'] #5

Description

@im-renpei
(adapt-alfworld-env) ➜  ADaPT git:(main) ✗ python run_alfworld.py           
Initializing AlfredTWEnv...
Checking for solvable games...
Overall we have 134 games
Evaluating with 134 games
Traceback (most recent call last):
  File "/home/pren/Devs/ADaPT_ws/ADaPT/run_alfworld.py", line 202, in <module>
    env = orig_env.init_game(batch_size=1, game_file=game_files[2])
  File "/home/pren/Devs/ADaPT_ws/alfworld/alfworld/agents/environment/alfred_tw_env.py", line 251, in init_game
    infos = textworld.EnvInfos(won=True, admissible_commands=True, expert_type=expert_type, expert_plan=expert_plan, extras=["gamefile"])
  File "/home/pren/anaconda3/envs/adapt-alfworld-env/lib/python3.9/site-packages/textworld/core.py", line 109, in __init__
    raise ValueError(msg)
ValueError: Unknown information requested: ['expert_plan', 'expert_type']. Available information are: ['admissible_commands', 'command_templates', 'description', 'entities', 'extras', 'facts', 'fail_facts', 'feedback', 'game', 'intermediate_reward', 'inventory', 'last_action', 'last_command', 'location', 'lost', 'max_score', 'moves', 'objective', 'policy_commands', 'score', 'verbs', 'win_facts', 'won']
(adapt-alfworld-env) ➜  ADaPT git:(main) ✗

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions