Skip to content

About

No description, website, or topics provided.

Resources

Stars

8 stars

Watchers

2 watching

Forks

Latest commit

 

History

13 Commits

Folders and files

Repository files navigation

VIPeR

VIPeR: Visual Incremental Place Recognition With Adaptive Mining and Continual Learning
Yuhang Ming, Minyang Xu, Xingrui Yang, Weicai Ye, Weihan Wang, Yong Peng, Weichen Dai, Wanzeng Kong
RA-L 2025

This repository contains the code for the paper VIPeR: Visual Incremental Place Recognition With Adaptive Mining and Continual Learning.

Usage

Installation

  1. Clone this repo:
git clone https://github.com/X-mak/VIPeR_code.git
cd VIPeR_code
  1. Install dependencies
conda env create --file environment.yaml
conda activate viper

Data

We used the following subsets of datasets in our expriments:

  • TartanAir, download with tartanair_tools
    • Train/Test: abandonedfactory_night, carwelding, neighborhood, office2, westerndesert;
  • RobotCar, download with RobotCarDataset-Scraper
    • Train: 2014-11-28-12-07-13, 2014-12-10-18-10-50, 2014-12-16-09-14-09;
    • Test: 2014-06-24-14-47-45, 2014-12-05-15-42-07, 2014-12-16-18-44-24;
  • Nordland, download with gdown from Google Drive
    • Train/Test: All four seasons with recommended splits.

The datasets are aranged as follows:

$DATASET_ROOT/
├── tartanair/
│   ├── abandonedfactory_night/
|   |   ├── Easy/
|   |   |   └── ...
│   │   └── Hard/
│   │       └── ...
│   └── ...
├── robotcar/
│   ├── train/
│   │   ├── 2014-11-28-12-07-13/
│   │   └── ...
│   └── test/
│       ├── 2014-06-24-14-47-45/
│       └── ...
└── nordland/
    ├── train/
    │   ├── fall_images_train/
    │   └── ...
    └── test/
        ├── fall_images_test/
        └── ...

Command

The following command trains the model with the specified method on TartanAir with default configuration and evaluate the performance:

$ python main.py --method <finetune/airloop/viper> 

Extra options*:

  • --out-dir <DIR>: output directory for model checkpoints and importance weights.
  • --memory-path <DIR>: output directory for memory file.
  • --skip-eval: perform training only.
  • --skip-train: perform evaluation only.
  • --cross: launch a multi-dataset environment.
  • --dataset <tartanair/robotcar/nordland>: dataset to use. If the "cross" option is added, multiple datasets can be specified in the parameters, and the model will be trained in the order of the list. For example: --dataset tartanair,robotcar,nordland.
  • --log-dir <DIR>: Tensorboard logdir.
  • --backbone <vgg/dinov2>: the backbone used by the model.
  • --aggregator <gem/vlad>: the aggregator used by the model.

See main_single.py for more settings.

Model

We also provide pre-trained models here, which include three datasets (Nordland, RobotCar, TartanAir) and models trained in various environments for each dataset. The backbone of these models is VGG-19, and the aggregator is NetVLAD.

Citation

If you find our work helpful, please consider citing:

@ARTICLE{10873856,
  author={Ming, Yuhang and Xu, Minyang and Yang, Xingrui and Ye, Weicai and Wang, Weihan and Peng, Yong and Dai, Weichen and Kong, Wanzeng},
  journal={IEEE Robotics and Automation Letters}, 
  title={VIPeR: Visual Incremental Place Recognition with Adaptive Mining and Continual Learning}, 
  year={2025},
  volume={10},
  number={3},
  pages={3038-3045},
  doi={10.1109/LRA.2025.3539093}}

About

No description, website, or topics provided.

Resources

Stars

8 stars

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages