SOLO icon indicating copy to clipboard operation
SOLO copied to clipboard

SOLOv2 INSTALL error

Open gpsherry opened this issue 4 years ago • 3 comments

infoflow 2021-01-29 14-51-20 Hi,我在torch1.5、torch1.4上install SOLOV2都报这个类似错误,请问是什么原因呢?

gpsherry avatar Jan 29 '21 06:01 gpsherry

If you replace all "AT_CHECK" with "TORCH_CHECK", you will be able to compile.

miyukiKawa avatar Feb 17 '21 05:02 miyukiKawa

I solved this by installing specific versions of pytorch, nvcc and g++ in the conda environment:

conda create -n solo python=3.7 -y
conda activate solo
conda install pytorch==1.4.0 torchvision==0.5.0 -c pytorch -y
conda install -c conda-forge cudatoolkit-dev -y
conda install gxx_linux-64 -y
pip install -ve .

:wink:

rfezzani avatar Feb 24 '21 10:02 rfezzani

If you replace all "AT_CHECK" with "TORCH_CHECK", you will be able to compile.

Successfully installed. by replace all "AT_CHECK" with "TORCH_CHECK"

jiangfeng94 avatar Jun 04 '21 01:06 jiangfeng94