All Projects → msalvaris → Daskmaskrcnn

msalvaris / Daskmaskrcnn

Licence: mit
Running Mask-RCNN on Dask with PyTorch

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Daskmaskrcnn

Cpu X
CPU-X is a Free software that gathers information on CPU, motherboard and more
Stars: ✭ 676 (+2604%)
Mutual labels:  gpu
Pyopencl
OpenCL integration for Python, plus shiny features
Stars: ✭ 790 (+3060%)
Mutual labels:  gpu
Turbotransformers
a fast and user-friendly runtime for transformer inference (Bert, Albert, GPT2, Decoders, etc) on CPU and GPU.
Stars: ✭ 826 (+3204%)
Mutual labels:  gpu
Imageai
A python library built to empower developers to build applications and systems with self-contained Computer Vision capabilities
Stars: ✭ 6,734 (+26836%)
Mutual labels:  gpu
Fancontrol.releases
This is the release repository for Fan Control, a highly customizable fan controlling software for Windows.
Stars: ✭ 768 (+2972%)
Mutual labels:  gpu
Tvm
Open deep learning compiler stack for cpu, gpu and specialized accelerators
Stars: ✭ 7,494 (+29876%)
Mutual labels:  gpu
Chainer
A flexible framework of neural networks for deep learning
Stars: ✭ 5,656 (+22524%)
Mutual labels:  gpu
Fieldplay
A vector field explorer
Stars: ✭ 922 (+3588%)
Mutual labels:  gpu
Marian
Fast Neural Machine Translation in C++
Stars: ✭ 777 (+3008%)
Mutual labels:  gpu
Tensorflow.jl
A Julia wrapper for TensorFlow
Stars: ✭ 822 (+3188%)
Mutual labels:  gpu
Kubernetes Gpu Guide
This guide should help fellow researchers and hobbyists to easily automate and accelerate there deep leaning training with their own Kubernetes GPU cluster.
Stars: ✭ 740 (+2860%)
Mutual labels:  gpu
Tf Coriander
OpenCL 1.2 implementation for Tensorflow
Stars: ✭ 775 (+3000%)
Mutual labels:  gpu
Unity3d Cg Programming
Various shaders.
Stars: ✭ 800 (+3100%)
Mutual labels:  gpu
Gunrock
High-Performance Graph Primitives on GPUs
Stars: ✭ 718 (+2772%)
Mutual labels:  gpu
Wheels
Performance-optimized wheels for TensorFlow (SSE, AVX, FMA, XLA, MPI)
Stars: ✭ 891 (+3464%)
Mutual labels:  gpu
Coriander
Build NVIDIA® CUDA™ code for OpenCL™ 1.2 devices
Stars: ✭ 665 (+2560%)
Mutual labels:  gpu
Makie.jl
High level plotting on the GPU.
Stars: ✭ 791 (+3064%)
Mutual labels:  gpu
Neanderthal
Fast Clojure Matrix Library
Stars: ✭ 927 (+3608%)
Mutual labels:  gpu
Jetsonjs
Embed a JavaScript/WebGL application on a Nvidia Jetson TX2 and stream the results through websockets. It does not rely on CUDA/Jetpack. HDMI touchscreen, virtual keyboard, GPIO control, wifi config are included.
Stars: ✭ 18 (-28%)
Mutual labels:  gpu
Scikit Cuda
Python interface to GPU-powered libraries
Stars: ✭ 803 (+3112%)
Mutual labels:  gpu

Using Dask with MaskRCNN

In this repository is a demo on how to use Dask with MaskRCNN in PyTorch.

All needed commands are in the Makefile

Requirements

Ubuntu PC/VM
Docker
Nvidia runtime for Docker
One or more GPUs

Getting Started

Before you do anything you will need to modify the makefile.

  • First edit data_volume and replace /mnt/pipelines with a location on your computer where you will read the data from and write the data to. This will be mapped to /data inside the container.
  • Next edit filepath. This is the location as it appears inside the docker container. As it is set by default inside the makefile the location is /data/people. The location people contains a number of files which will be processed by the model. /data/people will actually match to /mnt/pipelines/people outside the container.
  • Edit output_path. This should be where there results will be written to.
  • Place files you want to run MaskRCNN against in the folder you are mapping from in filepath. This is by default /mnt/pipelines/people

Then you must build the container in which we will execute everything.

make build

Then run the container

make run

Then we start the Dask scheduler

make start-scheduler

This also creates a tmux session named dask

Then we start the Dask workers

make start-workers

Each Dask worker will bind to a specific GPU

Finally we run the pipeline:

make run-pipeline

You should be able to view the Dask dashboard if you point your browser to port 8787 of your VM/PC.

You can then stop everything by simply running

make stop

Extra Commands

You can run bash in the container by running

make bash

Notes

This serves as a demo, performance is not optimal. The adding of annotations takes a long time and needs to be improved.

By default this demo is set up to use 4 GPUs, make sure you edit the makefile and adjust to your setup

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].