ZouJiu1 / LSQplus

LSQ+ or LSQplus
57 stars 14 forks source link

感谢分享,遇到一个小问题 #4

Open liu-zhenhua opened 2 years ago

liu-zhenhua commented 2 years ago

在使用lsq+在进行detection的时候,遇到一个问题 image

请问您有遇到过这种情况吗?看起来是backward的时候有个变量没有梯度?

ZouJiu1 commented 2 years ago

It's the version problem, you should use pytorch==1.8.1, or you will revise the codes of backward if you use another version of pytorch

YiLiM1 commented 1 year ago

在使用lsq+在进行detection的时候,遇到一个问题 image

请问您有遇到过这种情况吗?看起来是backward的时候有个变量没有梯度?

请问你解决了这个问题了嘛,我更换了1.8.1还是存在这个问题

ZouJiu1 commented 1 year ago

You should check which line cause this error, these message you posted can't determine the error. maybe you should revise the codes lsqplus_quantize_V1, or you can search for this error in microsoftbing, then you will fix it.