pytorch-slimming
pytorch-slimming copied to clipboard
剪枝程序vggprune.py遇见的问题
Traceback (most recent call last):
File "vggprune.py", line 73, in
Have you solved the problem? I encountered the same problem as you.
Have you solved the problem? I encountered the same problem as you.
你们需要将其前面的thre变成cuda() 即 thre.cuda(),后再进行该mask的计算。