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
File "Adam.py", line 82, in step
state['exp_avg'] = torch.zeros_like(p, memory_format=torch.preserve_format)
TypeError: zeros_like() received an invalid combination of arguments - got (Parameter, memory_format=torch.memory_format), but expected one of:
* (Tensor input, torch.dtype dtype, torch.layout layout, torch.device device, bool pin_memory, bool requires_grad)
* (Tensor input, bool requires_grad)
didn't match because some of the keywords were incorrect: memory_format
The text was updated successfully, but these errors were encountered:
I tried to use Adam_GC, but got the errors.
Pytorch version: 1.3.0
The text was updated successfully, but these errors were encountered: