CAT-Net: Learning Canonical Appearance Transformations
CAT-Net
Code to accompany our paper “How to Train a CAT: Learning Canonical Appearance Transformations for Direct Visual Localization Under Illumination Change”.
Dependencies
- numpy
- matpotlib
- pytorch + torchvision (1.2)
- Pillow
- progress (for progress bars in train/val/test loops)
- tensorboard + tensorboardX (for visualization)
- pyslam + liegroups (optional, for running odometry/localization experiments)
- OpenCV (optional, for running odometry/localization experiments)
Training the CAT
- Download the ETHL dataset from here or the Virtual KITTI dataset from here
- ETHL only: rename
ethl1/2toethl1/2_static. - ETHL only: Update the local paths in
tools/make_ethl_real_sync.pyand runpython3 tools/make_ethl_real_sync.pyto generate a synchronized copy of therealsequences.
- ETHL only: rename
- Update the local paths in
run_cat_ethl/vkitti.pyand runpython3 run_cat_ethl/vkitti.pyto start training. - In another terminal run
tensorboard --port [port]