GithubHelp home page GithubHelp logo

magicboomliu / orientation-learning-for-autonomous-driving Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 115.13 MB

Simple Orientation Learning using ResNets

License: Apache License 2.0

Python 95.76% Shell 4.24%

orientation-learning-for-autonomous-driving's Introduction

OrientationLearning

Simple Orientation Learning using ResNets

Note that in this repo, we using consider the category of 'car', which means 3 categories:

  • car_back : 0
  • car_side: 1
  • car_front :2

for the training, we use vehicle-orientation 1~4 for training(almost 20K images), and use vehicle-orientation-5 for evaluation.

For trainining, we use:

cd scripts 
sh train.sh

For inference on new images, we provided the inference code with pre-trained model:

  • Download the pretrained model
sh download_model.sh

The Downloaded model with be in pretrained_models/model_best.pth

Then run the inference code:


python inference.py --pretrained_model_path "pretrained_models/model_best.pth" --nums_layers 34 \
> --image_path "<YOU IMAGE PATH>" --annotation_path "<ANNOTATION JSON FILE>" --saved_folder "<SAVED FOLDER >"

orientation-learning-for-autonomous-driving's People

Contributors

lzhsub avatar magicboomliu avatar

Stargazers

 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.