rail-berkeley / rlkit

Collection of reinforcement learning algorithms
MIT License
2.43k stars 547 forks source link

There is no "CustomMDPPathCollector" anywhere... #140

Closed HYDesmondLiu closed 2 years ago

HYDesmondLiu commented 2 years ago

I tried to run BEAR in d4rl_evaluations/bear/examples, however, there is no such thing as CustomMDPPathCollector in anywhere of rlkit, could you please take a look?

Traceback (most recent call last):
  File "bear_hdf5_d4rl.py", line 7, in <module>
    from rlkit.samplers.data_collector import MdpPathCollector, CustomMDPPathCollector
ImportError: cannot import name 'CustomMDPPathCollector' from 'rlkit.samplers.data_collector'
anair13 commented 2 years ago

@justinjfu @aviralkumar2907 Tagging for visibility, but it looks a version of rlkit is provided inside the repo: https://github.com/rail-berkeley/d4rl_evaluations/tree/master/bear/rlkit