Skip to content

deafloo/darknet_docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Set up a docker-container for object detection with darknet

using CUDA 10.2 on Ubuntu 18.04

Pre-launch setup

sudo add-apt-repository ppa:graphics-drivers/ppa
sudo apt-get update
  • get a nvidia display driver > 440:
sudo apt-get install nvidia-driver-440
  • clone this repo and cd into it

  • build the docker container (this may take a while)

docker build --build-arg user=${USER} -t darknet:latest .
  • delete dangling docker images to free space
docker rmi $(docker images -f "dangling=true" -q)

Launch

  • run the darknet.sh script to get into the container
sh ./darknet.sh

Settings

  • change path to personal files at the end of the Dockerfile [Note: COPY paths are relative do the Dockerfile]

  • change path to personal files in darknet.sh

  • delete the --device entry in darknet.sh if you don't have a webcam attached

About

Docker setup especially for darknet and YOLO. Image with CUDA and openCV

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published