-
Notifications
You must be signed in to change notification settings - Fork 90
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 during training #3
Comments
The vmap needs to be initialized again after setting the dropout. Try doing this
|
@aditya-spood Thanks a lot ! |
Hi @hanshuo-shuo @aditya-spood , thanks for initiating the discussion. Is this an issue with the current code, or does it only occur with some changes? I'd like to dig into this and fix any issues with the codebase (or anything that would make it easier to use/extend). It is possible that some behaviors are inconsistent across package versions, in which case I'd like for the code to be less sensitive to the exact versions installed. |
@nicklashansen Hi, thanks for your reply. https://github.com/hanshuo-shuo/tdmpc2-prey/tree/main
Then during training, it produces such errors. I checked pytorch document, and I don't think |
Thanks for sharing. In that case, I suspect that it might be due to package versions. Would you mind copy/pasting the output of |
@nicklashansen Hi, the output is
Sorry, my env is a mess. |
Hello! Thank you for sharing your great work with all of us. I also got the same errors when I ran the following command, which is from README instructions. I did not change anything in the code.
The problem is solved with the advice in this thread. I wonder if these revision does not change the final result. |
@purewater0901 I get same error too,but it still dosn't work after I edit the code like above. Could you please tell me how you fix it. |
@VitaLemonTea1 I only did this part and it works quite well(Just overwrite it on previous layer's code)
|
@VitaLemonTea1 @hanshuo-shuo You can also add a new function to this class that is indicated in this thread, but I'm not sure if it's necessary. |
@purewater0901 @hanshuo-shuo |
Hi all, Thank you for your patience. I spent a few hours investigating this today, and it appears that the existence of This commit also updates I'll close this issue, but please feel free to re-open if you run into any other issues. |
Hi, Thanks for your code~
I try to apply the code to my environment. During training, I found out
I was wondering if you also had issues like this, is it due to some uninstalled module?
The text was updated successfully, but these errors were encountered: