I cannot use the pytorch that was built successfully from source: (DLL) initialization routine failed. Error loading caffe2_detectron_ops_gpu.dll

I think your problem is easy to solve.because i alread install VS2019 ,so i have msvc tool to build it.
i use Native tools command prompt for vs 2019 to run python setup.py build --cmake
just keep to try again.good luck friend

1 Like