-
Notifications
You must be signed in to change notification settings - Fork 453
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error when loading fixed replay buffer #34
Comments
"self._data_dir" in "fixed_replay_buffer.py" is seemed to be different from what the authors assumed, becuase of the process in "create_dataset.py" line 37. |
I had the same problem. I forgot to append a slash to the |
This does not work as well, and I use the argument --data_dir_prefix ./dqn_replay/ still goes wrong. Has anyone solved this issue? |
I used the absolute path in --data_dir_prefix and this error no longer occurs. |
Breakout but not ‘Breakout’ ; D:/Code/dataset/ but not 'D:/Code/dataset/ ' ; dont add '' |
The above error was solved but i got these warnings, |
Hi. I also got these warnings, are u already solved it? |
I don’t think this is a issue, its just because of old checkpoints, i was
able to run epochs on a gpu and got max rtg and timestamps, so i think you
are good to go.
…On Wed, Aug 30, 2023 at 1:21 PM Aimer ***@***.***> wrote:
The above error was solved but i got these warnings, this buffer has 13576
loaded transitions and there are now 168767 transitions total divided into
120 trajectories loading from buffer 47 which has 0 already loaded
WARNING:absl:Unable to find episode_end_indices. This is expected for old
checkpoints.
Hi. I also got these warnings, are u already solved it?
—
Reply to this email directly, view it on GitHub
<#34 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AVJW4VTWOCZWZE5AF2WSPRDXX3ZXPANCNFSM5NW2XGCQ>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Thanks for your reply, you are right. |
The error comes from the misusage of path. In
to
|
Has anyone tried a workaround that doesn't use the circular_replay_buffer import from dopamine.replay_memory? Reason: The cloning of the Dopamine library at the end of the conda_env.yml file as of December 2023 is causing a lot of dependency issues. It seems dopamine has a dependency on jaxlib which is not compatible with Python 3.7.9 as used in the paper (Error: No matching distribution found for jaxlib>=0.1.51). |
has anyone found a workaround yet, just re-pinging as I too am struggling with this issue of dopamine rl and jaxlib being incompatible for python 3.7.9 |
Hi, Thank you for the code contribution.
I tried the code with these command
python atari/run_dt_atari.py --seed 123 --epochs 5 --model_type 'reward_conditioned' --num_steps 500000 --num_buffers 50 --game 'Breakout' --batch_size 64
But it turned out like this (always 0 loaded transitions~) :
I think this problem is caused by not creating frb(fixed replay buffer) properly in "fixed_replay_buffer.py".
This part:
When declare circular_replay_buffer in the dopamine library and load the buffer, it's not created properly, so fixed replay buffer always return None.
Is it a bug or am I doing something wrong in this setting?
The text was updated successfully, but these errors were encountered: