记将MobileNet的pytorch模型转换成TorchScript格式出现的问题
这里写自定义目录标题使用torch.jit.script()将mobilenetv3的pytorch模型转换成TorchScript时出现RuntimeError:Tried to access nonexistent attribute or method ‘ne’ of type ‘torch.SeModule’. Did you forget to initialize an attribute in init()?:File “/home/guanchu5/Desktop/mobilenet
原创
2021-01-10 13:10:36 ·
2297 阅读 ·
0 评论