Open boom9807 opened 4 months ago
I was also getting this error and didn't find the solution in the previous issue to work. I found for some reason that after installing pysobatools and SSIS, uninstalling pysobatools and reinstalling it worked. This worked on a local linux server. Full commands of what I ran are below
conda create -n ssis python=3.10 -y
conda activate ssis
pip install gdown
python -m gdown --id '1GyJIFvNMWOS_v6IXKxpVHBRKnzDQNYb8' -O './dataset/'
unzip -q ./dataset/SOBA_v2.zip -d ./dataset/
git clone https://github.com/stevewongv/SSIS.git
pip install numpy==1.25.2
pip install torch==2.3.0 torchvision==0.18.0 torchaudio==2.3.0 --index-url https://download.pytorch.org/whl/cu121
pip install git+https://github.com/facebookresearch/detectron2.git@70f454304e1a38378200459dd2dbca0f0f4a5ab4
pip install kornia==0.5.6
pip install opencv-python
pip install scikit-image
git clone https://github.com/stevewongv/InstanceShadowDetection.git
cd InstanceShadowDetection/PythonAPI/
mv common ../
sed -i 's|./common|../common|g' setup.py
python setup.py install
cd ../../SSIS
python setup.py develop
python -m gdown --id '1eauD7J9Wcbm8K5ZOsHKa7kYA8wIm6m5I' -O './tools/output/SSISv2_MS_R_101_bifpn_with_offset_class_maskiouv2_da_bl/model_ssisv2_final.pth'
pip uninstall pysobatools -y
cd ../InstanceShadowDetection/PythonAPI/
python setup.py install
I was also getting this error and didn't find the solution in the previous issue to work. I found for some reason that after installing pysobatools and SSIS, uninstalling pysobatools and reinstalling it worked. This worked on a local linux server. Full commands of what I ran are below
conda create -n ssis python=3.10 -y conda activate ssis pip install gdown python -m gdown --id '1GyJIFvNMWOS_v6IXKxpVHBRKnzDQNYb8' -O './dataset/' unzip -q ./dataset/SOBA_v2.zip -d ./dataset/ git clone https://github.com/stevewongv/SSIS.git pip install numpy==1.25.2 pip install torch==2.3.0 torchvision==0.18.0 torchaudio==2.3.0 --index-url https://download.pytorch.org/whl/cu121 pip install git+https://github.com/facebookresearch/detectron2.git@70f454304e1a38378200459dd2dbca0f0f4a5ab4 pip install kornia==0.5.6 pip install opencv-python pip install scikit-image git clone https://github.com/stevewongv/InstanceShadowDetection.git cd InstanceShadowDetection/PythonAPI/ mv common ../ sed -i 's|./common|../common|g' setup.py python setup.py install cd ../../SSIS python setup.py develop python -m gdown --id '1eauD7J9Wcbm8K5ZOsHKa7kYA8wIm6m5I' -O './tools/output/SSISv2_MS_R_101_bifpn_with_offset_class_maskiouv2_da_bl/model_ssisv2_final.pth' pip uninstall pysobatools -y cd ../InstanceShadowDetection/PythonAPI/ python setup.py install
Hi @tylerfeldman321, thanks for the detailed installation guideline. I followed the commands above but I'm getting RuntimeError: Detectron2 is not compiled with GPU support!
, tried compiling detectron2 from the source with no luck!
on NVIDIA H800
I encountered a problem as shown in the title here is my installing order: 0.cd SSIS 1.create a env (conda create -n ssis python=3.9) conda activate ssis 2.pip install onnx protobuf 3.pip install torch==2.2.0 torchvision==0.17.0 torchaudio==2.2.0 --index-url https://download.pytorch.org/whl/cu118 4.pip install numpy scikit-image kornia pycocotools 5.pip insatll git+https://github.com/stevewongv/InstanceShadowDetection.git@50764eb336f3194db382054fe537956dd8449c01#subdirectory=PythonAPI 6.pip install git+https://github.com/facebookresearch/detectron2.git 7.python setup.py build develop 8.pip install opencv-python