Altriaex

Results 4 comments of Altriaex

Here is another implementation. ``` from dopamine.discrete_domains import atari_lib from dopamine.replay_memory import circular_replay_buffer class DummyWrappedBuffer(circular_replay_buffer.OutOfGraphReplayBuffer): def __init__(self, observation_shape, stack_size, replay_capacity=1000000, batch_size=32): super(DummyWrappedBuffer, self).__init__(observation_shape, stack_size, replay_capacity, batch_size) def load_logs(logs_dir, suffix): buffer...

For Mujoco environments there is a function called set_state, which should, in principle, set the status of the simulator. https://github.com/Farama-Foundation/Gymnasium/blob/7af0936f0831c559e069f7231a45a5440199fb10/gymnasium/envs/mujoco/mujoco_env.py#L219 And in particular, I think if you can keep state.time,...

http://www.zhihu.com/question/24671496 这个问题显示5个回答但只有四个,所以i=0那部分也会报错 这个看起来可以通过在i=0的j循环里,soap赋值后,增加一条判断语句解决 if len(soup.find_all("div", class_="zm-item-answer")) == j: break