i used pyinstaller to pack my code into exe in pytorch1.8. The python code and exe can run well in the virtual environment of pytorch 1.8, but it report an error when i run the exe without virtual environment of on another computer. I checked the torch folder in the dist, i make sure that the caffe2_detectron_ops_gpu.dll file do exist in the folder. What led to this question? can what should i do to resolve it.
微信截图_20210308095006935×607 60.4 KB