Giter Club home page Giter Club logo

carla-visual-relocalization's Introduction

Carla-Visual-Relocalization

Generate dataset for visual relocalization in CARLA 0.8.2

1 Generate Dataset in Carla

  • Find the Two CARLA scripts, then add it to CARLA_0.8.2/PythonClient/scripts/CARLA

    RelocalizationQuery.py

    RelocalizationReference.py

  • Start carla simulator in Town01 or Town 02 (default Town01) with PowerShell

    .\CarlaUE4.exe -carla-server -windowed -ResX=400 -ResY=300  -benchmark -fps=10
    .\CarlaUE4.exe  /Game/Maps/Town02  -carla-server -windowed -ResX=400 -ResY=300  -benchmark -fps=10
  • Set up weather, playerstart, vehicles, pedestrians etc. then run RelocalizationReference.py

  • Set up weather, playerstart, vehicles, pedestrians etc. then run RelocalizationQuery.py

  • Output format

folder name description
e.g. W000_P100_V000_P000 weather, playerstart, vehicles, pedestrians
W000_P100_V050_P200 as above
W000_P100_V075_P300 as above
subfolder name description
/Depth key frame,256*256
/RGB key frame,256*256
/SemanticSegmentation key frame,256*256
Control.txt each frame,256*256
Trajectory.txt each frame,256*256

2 Use Dynamic2static Model to infer

folder name description
/AB dynamic,static, width=256*2, height=256
/ABC dynamic,static,segmantic mask, width=256*3, height
  • Run test_with_mask to infer, then download to local pc from remote server

pretrained Dynamic2static model

  • Output format
folder name description
/images fake_B, Gx, real_A,....

deltete Gx, real_A,..., rename fake_B.png to xxxxxx.png

3 Evaluate Precision of Visual ReLocalization

carla-visual-relocalization's People

Contributors

fiftywu avatar

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.