Coder Social home page Coder Social logo

train_baiducnn's Introduction

Train lidar_apollo_instance_segmentation CNN

Train lidar_apollo_instance_segmentation CNN with Nuscenes.

Getting Started

Only supports python3.

  1. Clone original_model branch and install some packages.
git clone -b original_model https://github.com/kosuke55/train_baiducnn.git  
pip install -r requirements.txt  
  1. create_dataset_from_nusc.py is for creating a dataset to train apollo cnn. Set dataroot and save_dir.
cd ~/train_baiducnn/scripts/create_dataset  
python create_dataset_from_nusc.py  --dataroot <downloaded nuscenes path> --save_dir <dir to save created dataset> --nusc_version <v1.0-mini or v1.0-trainval>  
  1. Execute start_server.sh and access from a web browser. Then you can train with train_bcnn.py.
cd ~/train_baiducnn/scripts/pytorch  
./start_server.sh  
python train_bcnn.py --data_path <dir to save created dataset>  
  1. Trained model can be converted to onnx by pytorch2onnx.py and converted to engine by onnx-tensorrt.
cd ~/train_baiducnn/scripts/pytorch  
python pytorch2onnx --trained_model <your_trained_model.pt>  
# after installing onnx-tensorrt  
onnx2trt <your_trained_model.onnx> -o <your_trained_model.engine>  
  1. Run lidar_apollo_instance_segmentation with <your_trained_model.engine>

reference

apollo 3D Obstacle Percption description

autoware_perception description

bat67/pytorch-FCN-easiest-demo

train_baiducnn's People

Contributors

kosuke55 avatar yukkysaito avatar deepmeng avatar

Stargazers

 avatar

Watchers

James Cloos avatar

Forkers

bright0072876

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.