Skip to content

Codebase for the ICCV 2023 Paper "LoCUS: Learning Multiscale 3D-consistent Features from Posed Images"

License

Notifications You must be signed in to change notification settings

dakloepfer/locus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LoCUS

Code for the ICCV 2023 paper "LoCUS: Learning Multiscale 3D-consistent Features from Posed Images"

teaser

Data

The data used to train the LoCUS model is the Matterport3D dataset.

Data Preparation

  1. Download the dataset using the instructions on the dataset website.
  2. Run scripts/data_preparation_scripts/matterport3d_precompute.py to generate better depth maps.
  3. Run scripts/data_preparation_scripts/matterport3d_calc_img_overlap.py to compute the overlaps between images, information that may be used for more effective data sampling.
  4. (Optional) Run scripts/data_preparation_scripts/matterport3d_compute_segmentations.py to compute the segmentation maps from the labelled triangle meshes. Use the --instance_segmentation flag to generate the labels for the instance segmentation with object re-identification task.

Training the model

To train the model, run train.py with the desired configuration files and command line options. Some default configurations can be found in the configs folder.

Testing the model

To train the model, run test.py with the desired configuration files and command line options. Some default configurations can be found in the configs folder.

Pre-Trained Weights

We release pre-trained weights for two models at the following links:

The models were trained using the settings described in the paper, and only vary in the positive region radius $\rho_j$ used, which is 0.2m and 0.6m respectively. For detailed results for these two models, please refer to the ablation study in the supplementary material.

After downloading a file from one of the links, the path to that file can be used as the --ckpt_path argument in the train.py and test.py scripts.

Paper

If you find this work useful, please consider citing:

@InProceedings{Kloepfer_2023_ICCV,
    author    = {Kloepfer, Dominik A. and Campbell, Dylan and Henriques, Jo\~ao F.},
    title     = {LoCUS: Learning Multiscale 3D-consistent Features from Posed Images},
    booktitle = {Proceedings of the IEEE/CVF International Conference on Computer Vision (ICCV)},
    month     = {October},
    year      = {2023},
    pages     = {16634-16644}
}

About

Codebase for the ICCV 2023 Paper "LoCUS: Learning Multiscale 3D-consistent Features from Posed Images"

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published