jwyang / faster-rcnn.pytorch

A faster pytorch implementation of faster r-cnn
MIT License
7.69k stars 2.33k forks source link

failure of Compilation with command "python setup.py build develop" #900

Open ThomaswellY opened 2 years ago

ThomaswellY commented 2 years ago

Dear Jian Wei I've tried to build this project in conda envs with python3.6 and pytorch1.0.0 . But encountered failure when compiling the cuda dependencies using commands "python setup.py build develop" in lib folder.

required from here /home/yang_hao/anaconda3/envs/faster-rcnn/lib/python3.6/site-packages/torch/lib/include/c10/util/ArrayRef.h:96:93: 警告:initializing ‘c10::ArrayRef::Data’ from ‘std::initializer_list::begin’ does not extend the lifetime of the underlying array [-Winit-list-lifetime] error: command '/opt/cuda/bin/nvcc' failed with exit status 1

beyond-ssf commented 1 year ago

Same error!