Wavelet-jc / Deep-SfM-Revisited-annotated

0 stars 0 forks source link

nvcc fatal : Unknown option '-generate-dependencies-with-compile' #4

Open Wavelet-jc opened 1 year ago

Wavelet-jc commented 1 year ago

I solved this problem and adopted NguyenVanThanhHust's method

in this link: https://github.com/facebookresearch/detectron2/issues/2909 Refer to NguyenVanThanhHust's comment [on Jul 16, 2021]

this is his method: In the last line of setup.py, you change from cmdclass={"build_ext": torch.utils.cpp_extension.BuildExtension}, to cmdclass={"build_ext": torch.utils.cpp_extension.BuildExtension.with_options(use_ninja=False)},