allenai / allenact

An open source framework for research in Embodied-AI from AI2.
https://www.allenact.org
Other
308 stars 49 forks source link

Cannot run "gym_mujoco_tutorial" #341

Closed hai-h-nguyen closed 2 years ago

hai-h-nguyen commented 2 years ago

Problem

Exception when running gym_mujoco_tutorial:

Steps to reproduce

Steps to reproduce the behavior:

  1. Run: PYTHONPATH=. python allenact/main.py gym_mujoco_tutorial -b projects/tutorials -m 8 -o experiment_output/mujoco -s 0 -e
  2. See error
    allenact/allenact/algorithms/onpolicy_sync/storage.py", line 187, in initialize
    for key in self.memory_specification:
    TypeError: 'NoneType' object is not iterable

    Desktop

Please add the following information:

jordis-ai2 commented 2 years ago

@hai-h-nguyen Thanks for letting us know. I think the edge case of agents without memory is not correctly handled after the refactoring of the storage module. It should be an easy fix.