blue-oil / blueoil

Bring Deep Learning to small devices
https://blueoil.org
Apache License 2.0
249 stars 86 forks source link
deep-learning fpga machine-learning python quantization

Blueoil provides two features.

Type Status
blueoil Build status
lmnet Build status
dlk Build status
docs CircleCI

See also CI settings.

Documentation

You can see online documentation with enter.

Check out the Installation and Usage Guide page for getting started.

Note: Currently, Installation page is just in to be written, Please see Setup section to build docker on your development environment.

Prerequisites

The blueoil is run on docker container with original docker image based on NVIDIA's CUDA images (cuda:10.0-cudnn7-devel).

The machine running the CUDA container only requires the NVIDIA driver, the CUDA toolkit doesn't have to be installed.

Please see the detail in the nvidia-docker's prerequisites.

Set up

There are some submodules in this repositry, so you should run git submodule update --init --recursive after cloning or git clone --recursive [this repository].

make build

Note: The private repository submodules are set to connect by ssh, if you want to use HTTPS, you should edit URLs in .gitmodules and run git submodule sync before git submodule update --init --recursive command. (see how to edit)

How to make document

cd docs
make html

You can see generated documents in HTML format under docs/_build/html/ directory on your enviroment.

Also, you can see the deploy-preview online documentation from a Pull Request page that are integrated by netilify.

How to test

We can test each opereations of drore_run.sh by using shell script.

Prerequisites

$ make test

You can test specific task.

$ CUDA_VISIBLE_DEVICES={YOUR_GPU_ID} make test-classification
$ CUDA_VISIBLE_DEVICES={YOUR_GPU_ID} make test-object-detection
$ CUDA_VISIBLE_DEVICES={YOUR_GPU_ID} make test-semantic-segmentation

You can also test the modules used in Blueoil.

$ make test-lmnet
$ make test-dlk