Giter Site home page Giter Site logo

vehiclex's Introduction

VehicleX

This repository includes our code for the paper 'Simulating Content Consistent Vehicle Datasets with Attribute Descent' in ECCV2020. The VehicleX data is also with CVPR AI City Challenge 2020 and Alice Challenge.

Related material: Paper, Demo.

You may play with our Demo for a quick view of our data. This demo contains 70 ids out of 1362. The whole procedure of generating VehicleX images is in three steps:

  1. Attribute distribution learning and generate images by VehicleX engine with learned attributes (content level domain adaptation);

  2. Perform style level domain adaptation (SPGAN) for generated images;

  3. Train a re-ID model for style transfered images.

The code for the three steps is available on ./VehicleX Interface, ./StyleDA and ./Re-ID respectively. You are welcomed to use every single part of the code for your research purpose. Unity source code for VehicleX is also available on ./Unity Source.

VehicleX Adapted Images

We make generated images from VehicleX directly. We have performed domain adaptation (both content level and style level) from VehicleX to VeRi-776, VehicleID and CityFlow respectively. They can be used to augment real-world data. The adaptated images can be downloaded the tabel below.

VeRi-776 VehicleID CityFlow
w Style Baidu(pwd:nz36),Google Baidu(pwd:akjh),Google Website

The adapted image for CityFlow is used in AI City Challenge 2020 track 2. You may need to sign up to get CityFlow dataset access. The labeling format for all vehicleX data is "id_cam_num.jpg":

Taking "0001_c001_33.jpg" as an example:

  • 0001 means the vehicle id is 0001
  • c001 means the camera id is 001
  • 33 is the counting number

We also provide detailed labeling include vechile orientation, light intensity, light direction, camera distance, camera height, vehicle type and vehicle color in the XML file. The detailed labeling allows multi task learning.

We released our joint training code (two stage training) with VeRi-776, VehicleID and CityFlow in ./Re-ID

VehicleX Engine (Unity-python Interface)

We provide a Unity-Python Interface, which you may generate your own images from python code without modifying Unity Environment or C# programming. You can perform attribute learning using attribute descent and then generate vechile data with learned attributes. Please check ./VehicleX Interface for more details.

VehicleX Source Code and 3D Vehicle Models

If you want to make modification to the 3D environment or use our 3D vechile models only (i.e. for 3D related project). We provide .fbx format vehicle models, which you may import to Unity, Unreal or Blender. We also released entire Unity project. Please check ./Unity Source for more details.

If you find this code useful, please kindly cite:

@inproceedings{yao2020simulating,
  title={Simulating Content Consistent Vehicle Datasets with Attribute Descent},
  author={Yao, Yue and Zheng, Liang and Yang, Xiaodong and Naphade, Milind and Gedeon, Tom},
  booktitle={ECCV},
  year={2020}
}
@inproceedings{tang2019pamtri,
  title={Pamtri: Pose-aware multi-task learning for vehicle re-identification using highly randomized synthetic data},
  author={Tang, Zheng and Naphade, Milind and Birchfield, Stan and Tremblay, Jonathan and Hodge, William and Kumar, Ratnesh and Wang, Shuo and Yang, Xiaodong},
  booktitle={ICCV},
  year={2019}
}

If you have any question, feel free to contact [email protected]

vehiclex's People

Contributors

yorkeyao avatar

Watchers

 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.