stevewongv / SSIS

Instance Shadow Detection with A Single-Stage Detector [SSIS & SSISv2] (CVPR 2021 Oral & TPAMI 2022)
Other
90 stars 14 forks source link

about install project (python setup.py build develop) ,error , python 3.9 pytorch 1.9 cuda 11.1 ,because when pip install requirement.txt need pytorch >=1.8.1,so i pip pyotrch 1.9 #6

Closed zhanghongyong123456 closed 1 year ago

zhanghongyong123456 commented 1 year ago

image

stevewongv commented 1 year ago

Please use PyTorch 1.8.1 first. I will investigate this next.

stevewongv commented 1 year ago

Oh sorry, I just find this is related to the issue https://github.com/aim-uofa/AdelaiDet/pull/518. I think you should use PyTorch 1.11+. I will update the README.

zhanghongyong123456 commented 1 year ago

1.11+. I

my cuda version 11.1 ,so i can not install pytorch 1.11+, bucause no match cuda 11.1 ,and don't use cudatoolkit in conda env ,because i find need use /usr/local/cuda/nvcc when build , so can i use https://github.com/aim-uofa/AdelaiDet/tree/master/adet replace our project adet? Finally, copy the .py file specific to our project(like register_soba.py file)

zhanghongyong123456 commented 1 year ago

1.11+. I

my cuda version 11.1 ,so i can not install pytorch 1.11+, bucause no match cuda 11.1 ,and don't use cudatoolkit in conda env ,because i find need use /usr/local/cuda/nvcc when build , so can i use https://github.com/aim-uofa/AdelaiDet/tree/master/adet replace our project adet? Finally, copy the .py file specific to our project(like register_soba.py file)

use replace https://github.com/aim-uofa/AdelaiDet/tree/master/adet/layers/csrc/ml_nms/ml_nms.cu replace our project adet ,it's ok ,when ce demo ,run demo.py
image i not sure it's my conda env erroe or other error

stevewongv commented 1 year ago

You only need to replace the folder adet/layers/*

zhanghongyong123456 commented 1 year ago

You only need to replace the folder adet/layers/* thank you very much ok,it's run on python3.9 pytorch1.9 cuda11.1 ,have a few questions 1.Test my own video, some objects cannot be detected, how can I improve it? 2.What is the fps of our project, can it reach 4k real time?

stevewongv commented 1 year ago

You could email me for further discussion. I will close this issue first.

ai1361720220000 commented 11 months ago

i meet the same question when torch=1.10