Skip to content

I find a practical way to Environment setup and inference on own dataset #192

@3406212002

Description

@3406212002

I have compiled the environment for GPUs supporting CUDA 11.3, such as those with Ampere architecture or earlier. Note that GPUs based on the Ada Lovelace architecture and beyond do not support CUDA 11.3.


apt-get update
apt-get install -y libopenblas-dev
export TORCH_CUDA_ARCH_LIST="6.0 6.1 6.2 7.0 7.2 7.5 8.0 8.6"

git clone https://github.com/JonasSchult/Mask3D.git
cd Mask3D
conda create -n mask3d python=3.10.9 -y
conda activate mask3d

pip3 install torch==1.12.1+cu113 torchvision==0.13.1+cu113 pytorch-lightning==1.7.2 torchmetrics==0.11.4 --extra-index-url https://download.pytorch.org/whl/cu113
pip3 install torch-scatter -f https://data.pyg.org/whl/torch-1.12.1+cu113.html
pip3 install 'git+https://github.com/facebookresearch/detectron2.git@710e7795d0eeadf9def0e7ef957eea13532e34cf'

pip install pip==24.0
pip install "cython<3.0.0"
pip install --no-build-isolation "pyyaml==5.4.1"
pip install hydra-core==1.0.5
pip install pycocotools
pip install numpy==1.23.5 tensorboard loguru natsort fire scikit-learn scikit-image pillow==9.5.0 matplotlib pyviz3d python-dotenv plyfile trimesh wandb==0.15.0 fvcore cloudpickle albumentations==1.2.1

pip install -U git+https://github.com/kumuji/volumentations
pip install volumentations --no-build-isolation
pip uninstall importlib-metadata

cd third_party
git clone --recursive "https://github.com/NVIDIA/MinkowskiEngine"
cd MinkowskiEngine
git checkout 02fc608bea4c0549b0a7b00ca1bf15dee4a0b228
python setup.py install --force_cuda --blas=openblas

cd ..
cd pointnet2
python setup.py install
cd ../..

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions