You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
it throw a TypeError when i change replay_buffer=dict(replay_buffer_size=20000, ),
to replay_buffer=dict( replay_buffer_size=20000, priority=True, priority_IS_weight=True, )
for adding priority
Traceback (most recent call last):
File "/home/xxx/PycharmProjects/DI-engine/dizoo/classic_control/cartpole/config/cartpole_dqn_config.py", line 65, in<module>
serial_pipeline((main_config, create_config), seed=0) File "/home/xxx/PycharmProjects/DI-engine/ding/entry/serial_entry.py", line 78, in serial_pipeline replay_buffer = create_buffer(cfg.policy.other.replay_buffer, tb_logger=tb_logger, exp_name=cfg.exp_name) File "/home/xxx/PycharmProjects/DI-engine/ding/worker/replay_buffer/base_buffer.py", line 136, in create_buffer return BUFFER_REGISTRY.build(cfg.type, cfg, *args, **kwargs) File "/home/xxx/PycharmProjects/DI-engine/ding/utils/registry.py", line 96, in build raise e File "/home/xxx/PycharmProjects/DI-engine/ding/utils/registry.py", line 82, in build return build_fn(*obj_args, **obj_kwargs) File "/home/xxx/PycharmProjects/DI-engine/ding/data/buffer/deque_buffer_wrapper.py", line 54, in __init__ PriorityExperienceReplay(TypeError: PriorityExperienceReplay.__init__() got multiple values for argument 'IS_weight'
it throw a TypeError when i change
replay_buffer=dict(replay_buffer_size=20000, ),
to
replay_buffer=dict( replay_buffer_size=20000, priority=True, priority_IS_weight=True, )
for adding priority
it should delete
self.cfg.replay_buffer_size,
code.The text was updated successfully, but these errors were encountered: