onnx2X icon indicating copy to clipboard operation
onnx2X copied to clipboard

torch.load()提示找不到onnx2torch

Open swithmn1 opened this issue 3 years ago • 2 comments

swithmn1 avatar Sep 24 '21 01:09 swithmn1

同样的问题,请问有解决方法吗?

BelongAl avatar Mar 06 '22 05:03 BelongAl

这个问题是你没有在脚本中把onnx2X的目录引入~ import sys sys.path.append(you_path/onnx2X) 这样就可以了

BelongAl avatar Mar 06 '22 06:03 BelongAl