python train_dqfd.py
/Users/ixxx/opt/anaconda3/lib/python3.7/site-packages/gym/logger.py:30: UserWarning: WARN: Box bound precision lowered by casting to float32
warnings.warn(colorize('%s: %s'%('WARN', msg % args), 'yellow'))
Traceback (most recent call last):
File "train_dqfd.py", line 30, in <module>
from dqfd import DQfD, PrioritizedDemoReplayBuffer
File "/Users/iixxx/baselines/general/chainerrl/baselines/dqfd.py", line 28, in <module>
from chainerrl.replay_buffer import PrioritizedBuffer, PrioritizedReplayBuffer
ImportError: cannot import name 'PrioritizedBuffer' from 'chainerrl.replay_buffer' (/Users/ixxx/opt/anaconda3/lib/python3.7/site-packages/chainerrl/replay_buffer.py)
去chainerrl.replay_buffer.py这个文件看了,有一个PrioritizedBuffer类,不知道起什么作用,要怎么改这个bug