Coder Social home page Coder Social logo

triocrossing / fine-grained-segmentation-networks Goto Github PK

View Code? Open in Web Editor NEW

This project forked from maunzzz/fine-grained-segmentation-networks

0.0 1.0 0.0 57 KB

Code for the ICCV paper "Fine-Grained Segmentation Networks: Self-Supervised Segmentation for Improved Long-Term Visual Localization"

License: Other

Dockerfile 1.37% Python 98.30% Shell 0.33%

fine-grained-segmentation-networks's Introduction

Fine-Grained Segmentation Networks: Self-Supervised Segmentation for Improved Long-Term Visual Localization

This is an implementation of the work published in Fine-Grained Segmentation Networks: Self-Supervised Segmentation for Improved Long-Term Visual Localization (https://arxiv.org/abs/1908.06387)

Resources

The datasets used in the paper is published at visuallocalization.net

Trained Models

https://drive.google.com/drive/folders/1ks_HDb3ipNlJsNiTbLNSvqSIZ8Is8xCk

Installation

A Dockerfile is provided, either build a docker image using this or refer to the requirements listed in the file. In addition, a requirements.txt is provided.

Usage

  • Download Cityscapes and Mapillary Vistas
  • Use /utils/convert_vistas_to_cityscapes.py to create cityscapes class annotations for the Vistas images
  • Download the correspondence datasets, https://www.visuallocalization.net/datasets/
  • Download the images associated with the correspondence datasets (instructions available in dataset readme)
  • Create a global_otps.json and set the paths (see global_opts_example.json)
  • Get base models from the trained models link above, place the 'base-networks' folder in global_opts['result-folder']
  • Run /clustering/setup_cluster_dataset for the dataset to be trained on
  • Train, see train/train_many_cluster.py for reproduction of paper main experiments

Reference

If you use this code, please cite the following paper:

Måns Larsson, Erik Stenborg, Carl Toft, Lars Hammarstrand, Torsten Sattler and Fredrik Kahl "Fine-Grained Segmentation Networks: Self-Supervised Segmentation for Improved Long-Term Visual Localization" Proc. ICCV (2019).

@InProceedings{larsson2019fgsn,
  author = {Larsson, M{\aa}ns and Stenborg, Erik and Toft, Carl and Hammarstrand, Lars and Sattler, Torsten and Kahl, Fredrik},
  title = {Fine-Grained Segmentation Networks: Self-Supervised Segmentation for Improved Long-Term Visual Localization},
  booktitle = {The IEEE International Conference on Computer Vision (ICCV)},
  year = {2019}
} 

Other

Some code from https://github.com/facebookresearch/deepcluster, https://github.com/zijundeng/pytorch-semantic-segmentation, and https://github.com/kazuto1011/pspnet-pytorch was used.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.