torch2trt icon indicating copy to clipboard operation
torch2trt copied to clipboard

ImportError: cannot import name 'torch2trt'

Open chainfitness opened this issue 3 years ago • 0 comments

Hi, from the pip list I find that torch2trt was installed successfully but "from torch2trt import torch2trt" conducted the above error. So I try to just import torch2trt, and use torch2trt.torch2trt(model, [x]) ,then "AttributeError: module 'torch2trt' has no attribute 'torch2trt'" error was received

chainfitness avatar Mar 18 '22 08:03 chainfitness