Exploiting Vision Language Model for Training-Free 3D Point Cloud OOD Detection via Graph Score Propagation
Our experimental environment is follow ULIP2 to establish, the code is tested with python = 3.8, CUDA==11.3 and pytorch==1.10.1. You can install GSP following (noted that you need to download the requirements.txt from ULIP2 and put it into the folder):
conda create -n GSP
conda activate GSP
conda install pytorch==1.10.1 torchvision==0.11.2 torchaudio==0.10.1 cudatoolkit=11.3 -c pytorch -c conda-forge
pip install -r requirements.txtYou need to download the pre-trained model from ULIP2. In our work, we use the pre-trained pointbert as 3D encoder. So you need download the weight as follow:
./Dwonload (the path is decision by you)
--pretrained_models_ckpt_zero-sho_classification_pointbert_ULIP-2.ptTest pre-trained model on ScanObjectNN:
## test on SR1
python main.py --model ULIP_PointBERT --evaluate_3d --npoints 2048 --test_ckpt_addr path/to/your/pre-trained/model --dataset_name ScanObjectNN15 --dataset_split SR1
## test on SR2
python main.py --model ULIP_PointBERT --evaluate_3d --npoints 2048 --test_ckpt_addr path/to/your/pre-trained/model --dataset_name ScanObjectNN15 --dataset_split SR2
## test on SR3
python main.py --model ULIP_PointBERT --evaluate_3d --npoints 2048 --test_ckpt_addr path/to/your/pre-trained/model --dataset_name ScanObjectNN15 --dataset_split SR3We sincerely appreciate these highly valuable repositories ULIP2 and 3DOS