Coder Social home page Coder Social logo

activeintelligentsystemslab / aisl-pytorch-env Goto Github PK

View Code? Open in Web Editor NEW
3.0 2.0 0.0 95.84 MB

Docker + ROS environment for easily using existing pre-trained PyTorch models

License: MIT License

Makefile 5.56% Shell 2.50% Python 76.92% CMake 15.03%

aisl-pytorch-env's Introduction

aisl-pytorch-env

Docker + ROS environment for easily using existing pre-trained PyTorch models

Demo

Environment

  • CUDA 11.2
  • PyTorch 1.8.1
  • Torchvision 0.9.1

Requirements

  • Docker
  • nvidia-docker2
  • NVIDIA driver compatible with CUDA 11.2

Building docker images

Training

make build-training

ROS

make build-ros

Training

  1. Put a dataset somehwhere.
  2. Edit DATASET_DIR and LOG_DIR in Makefile.
    • DATASET_DIR : Location of the dataset
    • LOG_DIR : Location to put training log (tensorboard) and checkpoints (trained weights)
  3. Run make train

Running ROS nodes

Common things

  1. Build ROS packages
    make catkin-build
    
  2. Run ROS master
    docker-compose up master
    
  3. Run usb_cam
    docker-compose up ros-usb-cam
    

Object recognition

  • Run:
    docker-compose up ros-object-recognition
    

Object detection

  • Run:
    docker-compose up ros-object-detection
    

Semantic segmentation

  • Run:
    docker-compose up ros-semantic-segmentation
    

Depth estimation (MiDaS)

  • Run:
    docker-compose up ros-depth-estimation
    

More things to add

  • Face detection / recognition

aisl-pytorch-env's People

Contributors

shigemichimatsuzaki avatar yoshinobu-uzawa avatar

Stargazers

 avatar  avatar

Watchers

 avatar  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.