-
Notifications
You must be signed in to change notification settings - Fork 135
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
A minor issue when training models with maze2d dataset #8
Comments
Hi the maze2d code should be released now -- do you still have issues? |
Thanks for the reply! But it seems the error still occurs... |
Thanks for reporting. Could you check that you're on the
If that doesn't solve it, could you send the full stack trace? |
Here's the stack trace:
The default setting of the |
Could you include everything printed up until that point by the script? I think you're right that the |
Sorry for the late reply, I have re-run the code today, and found it works! Thanks very much! |
Hi,
Thanks for sharing the nice code! There was a minor issue when I trained the model with the script
python scripts/train.py --dataset maze2d-umaze-v1 --horizon 512 --n_diffusion_steps 200
:and I believe the episode number of the maze2d dataset is more than 10000, which caused this error. So I set
max_n_episodes=20000
at the line: https://github.com/jannerm/diffuser/blob/main/diffuser/datasets/sequence.py#L18. And it really fixed this issue. Maybe you can update the corresponding code if I'm correct?BTW, looking forward to seeing your testing/evaluating code :)
The text was updated successfully, but these errors were encountered: