denisyarats / drq

DrQ: Data regularized Q
https://sites.google.com/view/data-regularized-q
MIT License
401 stars 52 forks source link

Class DRQAgent is not in module drq #7

Closed a-z-e-r-i-l-a closed 4 years ago

a-z-e-r-i-l-a commented 4 years ago

Hi, I would like to try a costum gym environment but have encountered with this error:

Error instantiating drq.DRQAgent : Class DRQAgent is not in module drq
Traceback (most recent call last):
  File "/home/alireza/.local/share/virtualenvs/SimulationFramework-19OjgRmc/lib/python3.6/site-packages/hydra/utils.py", line 23, in get_class
    klass = getattr(mod, class_name)
AttributeError: module 'drq' has no attribute 'DRQAgent'

which happens in line self.agent = hydra.utils.instantiate(cfg.agent) in train.py

Do you know what might be the reason?

denisyarats commented 4 years ago

This seems to be unrelated to our code base.