这实际是由于pytorch与TensorRT版本不匹配,我的TensorRT是7.0,pytorch应该是1.4, ... 导出pytorch1.4版本对应的onnx state_dict = torch.load('logs/for_onnx.pth', ...
確定! 回上一頁