torch2trt_dynamic
torch2trt_dynamic copied to clipboard
install error
(zk_mmdet2.4) yyf@zyzn:~/software/torch2trt$ sudo python setup.py install
[sudo] password for yyf:
Traceback (most recent call last):
File "setup.py", line 8, in
I install pytorch already.why ?
I guess sudo
here maybe cause this problem?
you should change the build.py in line 28 as torch_dir= 'XX/python3.8/site-packages/torch',,it really works