目录
1 报错
Hardswish‘ object has no attribute ‘inplace‘
2 解决办法
找到了torch的路径后,编辑/torch/nn/modules/activation.py,把“,self.inplace”删掉。见下图:
2024-01-16 10:48:22
目录
Hardswish‘ object has no attribute ‘inplace‘
找到了torch的路径后,编辑/torch/nn/modules/activation.py,把“,self.inplace”删掉。见下图: