hungtuchen / pytorch-dqn

Deep Q-Learning Network in pytorch (not actively maintained)
MIT License
383 stars 109 forks source link

Take a long time to converge #9

Closed Ja1r0 closed 5 years ago

Ja1r0 commented 6 years ago

I run the code,and found your dqn algorithm take such a long time to converge.Actually,I found few implementation of dqn can converge in github.They can converge in a afternoon.I use a piece of GTX1080Ti.It is appreciate that your implementation can converge.But your code take a day and a night to converge.I don't know why.

Unimax commented 5 years ago

@Ja1r0 which environment did you tested on? also if u did the experiment let me know does the converge stays or it starts falling apart again with further training.

default target update frequency seems too high and little larger batch size should help too.