Skip to content
Snippets Groups Projects
Commit 32d1f745 authored by Admin's avatar Admin
Browse files

update readme

parent d5938455
No related branches found
No related tags found
No related merge requests found
......@@ -28,11 +28,11 @@ Link the datasets in the following folders with symlink.
The pretrained models are available on [onedrive](https://mailstsinghuaeducn-my.sharepoint.com/:f:/g/personal/liuxy21_mails_tsinghua_edu_cn/EgT-saAOPtROonp9o_nmPDQBeIO2x7RjvhMSXhMMTMgrlg?e=L2bX2f) (password: groupji).
## Training
We train a model separately for each of the BOP datasets. To train the TUDL refinement model, run
We train a model separately for each of the BOP datasets. To train the TUD-L refinement model, run
```
python train.py --dataset ycbv --batch_size 12 --num_inner_loops 10 --num_solver_steps 3 [--pbr_only]
python train.py --dataset tudl --batch_size 12 --num_inner_loops 10 --num_solver_steps 3 [--pbr_only]
```
To train a refinement model on other BOP datasets, replace `ycbv` with one of the following: `tless`, `lmo`, `hb`, `tudl`, `icbin`, `itodd`
To train a refinement model on other BOP datasets, replace `tudl` with one of the following: `tless`, `lmo`, `hb`, `ycbv`, `icbin`, `itodd`
## Testing
......
#!/usr/bin/env bash
DATASET=$1
export CUDA_VISIBLE_DEVICES=$3
suffix=""
if [ "$#" -ge 4 ] # ok
then
suffix=$4
fi
python test_from_init_pose_pickle.py --save_dir output/my_evaluation_${DATASET}${suffix} --dataset $DATASET --load_weights model_weights/refiner/${DATASET}_rgbd.pth \
--init_pose_file $2 --num_inner_loops 20 --num_solver_steps 5
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment