richardrl / rlkit-relational

Codebase for ICRA 2020 paper "Towards Practical Multi-object Manipulation using Relational Reinforcement Learning"
MIT License
97 stars 10 forks source link

error while running in here_no_doodad mode #7

Open st2yang opened 4 years ago

st2yang commented 4 years ago

Even in here_no_doodad mode, the process would go through https://github.com/richardrl/rlkit-relational/blob/master/rlkit/launchers/launcher_util.py#L549, which cause the error

UnboundLocalError: local variable 'doodad' referenced before assignment

The fix should be

import doodad

before referring to doodad, and the process would jump to except ImportError condition.