GithubHelp home page GithubHelp logo

fabriziomiano / darknet-docker Goto Github PK

View Code? Open in Web Editor NEW

This project forked from albertozurini/darknet-docker

0.0 1.0 0.0 35.12 MB

Darknet Docker wrapper for all Yolo version

License: GNU Affero General Public License v3.0

Dockerfile 0.12% Shell 0.20% Makefile 0.25% C 92.06% Python 1.07% Cuda 5.80% C++ 0.50%

darknet-docker's Introduction

Darknet Docker wrapper

Yolo it's cool, but installing it's a pain. Which OpenCV, which CUDA? This script will make your life a bit easier.

WTF is this?

Docker is the most beautiful thing in the world: you can install anything you want and it will work everywhere (yep, even Darknet).

What is included in this repo

  • You have both CPU and GPU verisons.
  • Python example for yolov3-tiny (weights included)
  • All config and data for darknet are included (if something is missing go here)

Docker installation

CPU only

https://docs.docker.com/install/ Then sudo bash build_cpu.sh

With GPU

https://github.com/NVIDIA/nvidia-docker Then sudo bash build.sh

FAQ

How long does it take to build the docker container?

On my computer (powered by i7 5820k) it took almost an hour.

cv2.imshow doesn't work

Because you have to enable desktop forward, so run xhost + on your host (not the container).

I got CUDA path build errors while compiling the GPU version

Edit build_darknet/Makefile at row 50-51 and specify your CUDA path.

How can I add more Python packages?

Open the Dockerfile and search for

# Install python dependencies
#RUN apt-get install python3-tk -y
#RUN pip3 install matplotlib

Then jst edit anything as you would do in a native machine (not as on Anaconda).

darknet-docker's People

Contributors

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