Closed zhizdev closed 6 months ago
I am running into many errors while installing ODISE. Mainly with compiling Mask2Former.
Errors include:
fatal error: 'crypt.h' file not found
fatal error: 'cusparse.h' file not found
Here is my workaround (or at least attempted).
Install Mask2former from their repo (https://github.com/facebookresearch/Mask2Former/blob/main/INSTALL.md) -- this is the main issue. However make sure you use python 3.9.
Once you are able to install Detectron2 and Mask2former. Then you should be set for ODISE.
I had to append CUDA_HOME="/usr/local/cuda-11.3" pip install -e . CUDA_HOME to install detectron2 and mask2former inside my conda environment.
CUDA_HOME="/usr/local/cuda-11.3" pip install -e .
nvm closing this
DO NOT INSTALL Detectron2 and Mask2former from source. Install it with this repo.
This seems like an important fix pip install numpy==1.23.1
pip install numpy==1.23.1
I am running into many errors while installing ODISE. Mainly with compiling Mask2Former.
Errors include:
Here is my workaround (or at least attempted).
Install Mask2former from their repo (https://github.com/facebookresearch/Mask2Former/blob/main/INSTALL.md) -- this is the main issue. However make sure you use python 3.9.
Once you are able to install Detectron2 and Mask2former. Then you should be set for ODISE.
I had to append
CUDA_HOME="/usr/local/cuda-11.3" pip install -e .
CUDA_HOME to install detectron2 and mask2former inside my conda environment.