ReAct icon indicating copy to clipboard operation
ReAct copied to clipboard

question on alfworld and textworld version.

Open WZX0Swarm0Robotics opened this issue 9 months ago • 0 comments

when i run alfworld.ipynb, it return: Initializing AlfredTWEnv... Checking for solvable games... Overall we have 134 games Evaluating with 134 games Traceback (most recent call last): File "/home/ict/ReAct/react.py", line 55, in env = env.init_env(batch_size=1) File "/home/ict/miniconda3/envs/react1/lib/python3.9/site-packages/alfworld/agents/environment/alfred_tw_env.py", line 224, in init_env infos = textworld.EnvInfos(won=True, admissible_commands=True, expert_type=expert_type, expert_plan=expert_plan, extras=["gamefile"]) File "/home/ict/miniconda3/envs/react1/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'] it seems that textworld do not work any more.

WZX0Swarm0Robotics avatar May 07 '24 14:05 WZX0Swarm0Robotics