XNOR-Net-PyTorch icon indicating copy to clipboard operation
XNOR-Net-PyTorch copied to clipboard

About the pytorch

Open Icey-Liu opened this issue 3 years ago • 5 comments

感谢您开源了XNOR的pytorch代码 有一些疑问,您当时使用的是哪个pytorch版本呢

Icey-Liu avatar Apr 14 '21 05:04 Icey-Liu

要在这个repo使用最新的pytorch版本,可以下载我的fork: https://github.com/tehtea/XNOR-Net-PyTorch

tehtea avatar Apr 18 '21 06:04 tehtea

要在这个repo使用最新的pytorch版本,可以下载我的fork: https://github.com/tehtea/XNOR-Net-PyTorch

谢谢解答,但是这个版本依然不能正常运行,后来在forward函数前加了@staticmethod也依然报错,想问一下这个是我配置的环境的问题吗

Icey-Liu avatar Apr 19 '21 01:04 Icey-Liu

你好 @Icey-Liu , 你可以把具体的error message贴在这里么?谢谢

jiecaoyu avatar Apr 19 '21 01:04 jiecaoyu

在原项目运行的时候报下面的错,然后在LeNet-5文件几个类的forward函数前加staticmethod后又报错forward缺参 2021-04-19(1) 2021-04-19 (2)(1)

Icey-Liu avatar Apr 19 '21 02:04 Icey-Liu

你试下1.2版本的pytorch

Asherchi avatar Oct 22 '21 08:10 Asherchi