prannaykaul / lvc

Official repo for our CVPR 22 paper: "Label, Verify, Correct: A Simple Few-Shot Object Detection Method"
Apache License 2.0
88 stars 14 forks source link

compile error #2

Open hebin110400 opened 2 years ago

hebin110400 commented 2 years ago

when executed “python -m pip install -e .”


nvcc fatal : redefinition of argument 'compiler-bindir' error: command '/home/work/cuda-10.1/bin/nvcc' failed with exit code 1

my env Python---3.9 GCC --- 8.3 pytroch ----1.7

prannaykaul commented 2 years ago

The detectron2 code that is contained in this repo has the same setup as the official detectron2 code, so if you are running into compile errors at this step, it is likely something solvable from the official detectron2 repo. Please see: https://github.com/facebookresearch/detectron2/blob/main/INSTALL.md#common-installation-issues

You have only given limited information but I would guess your GCC version and your CUDA version are incompatible. I have updated the README.md to reflect this issue: 90e19473b5847e1f4a072ad2a839f05529003a31

hebin110400 commented 2 years ago

Thx ,I will try again