This project is part of the codebase for NeRF-Supervised Feature Point Detection and Description.
The SiLK-PrP implementation is based on:
- The SiLK repository and paper.
In order to install the requirements and setup SilK-PrP and the paths, run:
make install
You will be required to provide three different paths:
1. Data_PATH: The path to the folder which will contain the datasets.
2. CKPT_PATH: The path where the model's checkpoints are saved.
3. EXPER_PATH: The path of the directory where experiments are written.
The Dataset can be downloaded through the following link.
The folder containing the datasets should be structured as follows:
| datasets
| |-- NeRF
| | |-- images
| | | |-- training
| | | |-- validation
| | |-- camera_transforms
| | | |-- training
| | | |-- validation
| | |-- depth
| | | |-- training
| | | |-- validation
| |-- HPatches
| | |-- i_ajustment
| | | |--1.ppm
| | | |--...
| | | |--H_1_2
| | |-- ...
| |-- ScanNet
| | |-- ....
To display all available training options run:
python engine.py -h
python engine.py --config_path .\configs\train.yaml --task train
Run the following to run the HPatches evaluation:
python engine.py --config_path .\configs\hpatches_eval.yaml --task hpatches_evaluation
In the configuration file, change the alteration
argument as v
to evaluate using varying viewpoint scenes only, i
to evaluate on varying illumination scenes, or all
to run full Hpatches evaluation.
Run the following to run the relative pose estimation on the ScanNet dataset:
python engine.py --config_path .\configs\scannet_pose.yaml --task pose_evaluation
For YFCC outdoor relative pose estimation evaluation, run the following:
python engine.py --config_path .\configs\YFCC_pose.yaml --task pose_evaluation
Special thanks to Pierre Gleize, Weiyao Wang and Matt Feiszli the authors of SiLK.