I'm getting an error saying optimizing a parameter that does not require gradients. What version of pytorch are you using? When I try to change your code to optim.SGD(Filter(lambda p:p.requores_gread,....)) it's throwing me another error saying 'unsupported format string passed to Variable.format'
I'm getting an error saying optimizing a parameter that does not require gradients. What version of pytorch are you using? When I try to change your code to optim.SGD(Filter(lambda p:p.requores_gread,....)) it's throwing me another error saying 'unsupported format string passed to Variable.format'