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
When running the code example in the newest documentation of Data Collection in tutorial section, the buffer.dump(f) method in the loop is throwing of UnsupportedOperation: read error
To reproduce: run the following code
# setup algorithmdqn=d3rlpy.algos.DQNConfig().create()
# prepare experience replay bufferbuffer=d3rlpy.dataset.create_fifo_replay_buffer(limit=100000, env=env)
# prepare exploration strategy if necessaryexplorer=d3rlpy.algos.ConstantEpsilonGreedy(0.3)
# start data collectiondqn.fit_online(env, buffer, explorer, n_steps=100000)
# save ReplayBufferwithopen("replay_dataset.h5", "wb") asf:
buffer.dump(f)
Expected behavior
Expected to dump the replay_buffer.h5 file successfully
When running the code example in the newest documentation of Data Collection in tutorial section, the buffer.dump(f) method in the loop is throwing of
UnsupportedOperation: read
errorTo reproduce: run the following code
Expected behavior
Expected to dump the replay_buffer.h5 file successfully
for more details here's the full error code below
The text was updated successfully, but these errors were encountered: