Found mistake in pytorch-lightning DQN example. How do I upload a fix? #10883
-
I am learning deep RL, and as an exercise I looked through and tried to implement this example of DQN in pytorch lightning: I believe that I have found a bug and I am not sure how to flag it or how to upload a fix myself. This is my first time trying to contribute to an open source project and any advice will be greatly appreciated. One line 106 of the section for the DQN Lightning Module, the expression for epsilon (which decays over the first eps_last_frame steps) is incorrect. The code is currently: I believe this is incorrect for the following reason: 0 <= epsilon <= 1, so self.global_step immediately overcomes the other two terms. There is no decay, only a single timestep at The intended behavior is for the epsilon to decay linearly from
Who do I contact, or is there a way I can upload this fix myself? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Hello! This fix would be done in the Lightning Tutorials repo here: https://github.com/PyTorchLightning/lightning-tutorials
Let me know if that helps and thanks for checking out the tutorials and the help! |
Beta Was this translation helpful? Give feedback.
Hello! This fix would be done in the Lightning Tutorials repo here: https://github.com/PyTorchLightning/lightning-tutorials
Let me know if that helps and thanks for checking out the tutorials and the help!