Skip to content

AliYoussef97/SiLK-PrP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Silk-PrP

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.

1. Setup

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
|   |   |-- ....

2. Configurations

To display all available training options run:

python engine.py -h

3. Training SiLK-PrP

python engine.py --config_path .\configs\train.yaml --task train

4. Evaluating HPatches Homography Estimation and Repeatability

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.

5. Relative Pose Estimation 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

Credits

Special thanks to Pierre Gleize, Weiyao Wang and Matt Feiszli the authors of SiLK.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published