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

Cannot run "gym_mujoco_tutorial" #341

Closed
hai-h-nguyen opened this issue Apr 1, 2022 · 1 comment · Fixed by #342
Closed

Cannot run "gym_mujoco_tutorial" #341

hai-h-nguyen opened this issue Apr 1, 2022 · 1 comment · Fixed by #342
Labels
bug Something isn't working

Comments

@hai-h-nguyen
Copy link

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:

  • OS: Ubuntu 16.04.5
  • AllenAct Version: master
@hai-h-nguyen hai-h-nguyen added the bug Something isn't working label Apr 1, 2022
@jordis-ai2
Copy link
Collaborator

@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.

@jordis-ai2 jordis-ai2 linked a pull request Apr 1, 2022 that will close this issue
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

Successfully merging a pull request may close this issue.

2 participants