DSR icon indicating copy to clipboard operation
DSR copied to clipboard

desired_samples on line 593 of NeuralQLearner.lua not defined

Open shehroze37-zz opened this issue 9 years ago • 3 comments

desired_samples is not defined and this gives an error. I guess this can't be self.num_samples because even with that it throws an error in sample() function (TransitionTable ) because the batchSize is greater than the bufferSize.

Cheers

shehroze37-zz avatar Jun 24 '16 15:06 shehroze37-zz

desired_samples should be self.num_samples -- good catch! What are the batchSize and bufferSize you are using? Did you try increasing the bufferSize?

SimsGautam avatar Jun 24 '16 16:06 SimsGautam

Hey @shehroze37, I just pushed a short fix to this. Let me know if you're still running into the same problem.

SimsGautam avatar Jun 28 '16 14:06 SimsGautam

Sure I will

Cheers !

shehroze37-zz avatar Jun 30 '16 13:06 shehroze37-zz