Skip to content

Commit

Permalink
Release matterportB checkpoints.
Browse files Browse the repository at this point in the history
  • Loading branch information
Kefan Chen authored and Kefan Chen committed Apr 20, 2022
1 parent 1978fde commit fce1fd9
Showing 1 changed file with 29 additions and 16 deletions.
45 changes: 29 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,27 +26,40 @@ Required packages: tensorflow 1.15, tensorflow_graphics, tensorflow_addons, tens

1. train DirectionNet-R.
```
python train.py \
--checkpoint_dir <path_to_checkpoints_and_logs> \
--data_dir <path_to_training_set> \
--model 9D
python train.py \
--checkpoint_dir <path_to_checkpoints_and_logs> \
--data_dir <path_to_training_set> \
--model 9D
```
2. Save the estimated rotations as pickle dictionary in the data directories respectively.
3. train DirectionNet-T.
```
python train.py \
--checkpoint_dir <path_to_checkpoints_and_logs> \
--data_dir <path_to_training_set> \
--model T
python train.py \
--checkpoint_dir <path_to_checkpoints_and_logs> \
--data_dir <path_to_training_set> \
--model T
```

## Evaluation

```
python eval.py \
--checkpoint_dir <path_to_load_checkpoints> \
--eval_data_dir <path_to_test_set> \
--save_summary_dir <path_to_save_logs> \
--model <9D (DirectionNet-R) or T (DirectionNet-T)>
--testset_size <testset_size> \
--batch <test_batch>
```

## Citation
```
@InProceedings{Chen_2021_CVPR,
author = {Chen, Kefan and Snavely, Noah and Makadia, Ameesh},
title = {Wide-Baseline Relative Camera Pose Estimation With Directional Learning},
booktitle = {Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR)},
month = {June},
year = {2021},
pages = {3258-3268}
}
@InProceedings{Chen_2021_CVPR,
author = {Chen, Kefan and Snavely, Noah and Makadia, Ameesh},
title = {Wide-Baseline Relative Camera Pose Estimation With Directional Learning},
booktitle = {Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR)},
month = {June},
year = {2021},
pages = {3258-3268}
}
```

0 comments on commit fce1fd9

Please sign in to comment.