You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
self.state[p]['step'] =self.state[p]['shared_steps'][0] -1# a "step += 1" comes later
super.step(closure)
Why did you override the default implementation of step(closure)? The default one calculates exponential moving average. Your implementation doesn't calculate the step count because it always returns None. I looked over torch's documentation for step() but couldn't understand exactly why you chose to overide the step function.
Kindly review the following PR: #9
The text was updated successfully, but these errors were encountered:
baby-a3c/baby-a3c.py
Lines 72 to 78 in 85899d7
Why did you override the default implementation of step(closure)? The default one calculates exponential moving average. Your implementation doesn't calculate the step count because it always returns None. I looked over torch's documentation for step() but couldn't understand exactly why you chose to overide the step function.
Kindly review the following PR: #9
The text was updated successfully, but these errors were encountered: