Deep Dream with Darknet

From Interaction Station Wiki
Revision as of 16:06, 9 January 2019 by Javi (talk | contribs) (Created page with "== Installation == *Fist, we install OpenCV: *OpenCV Installation *Then, we need to install our modified version of Darknet: *Darknet Installation *Go to the direct...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Installation

  • Go to the directory and download the YOLO weights:
cd darknet
wget https://pjreddie.com/media/files/yolov3.weights

Generating an Image

  • Using Deep Dream with Darknet (GPU + OpenCV). Tested on Ubuntu 16.04

Apply Deep Dream to an image

  • Go to the directory and type:
cd darknet
./darknet nightmare cfg/vgg-conv.cfg vgg-conv.weights data/eagle.jpg 13


Generate a sequence of images with Deep Dream

  • Go to the directory and run the detector for videos:
cd darknet
./darknet nightmare cfg/vgg-conv.cfg vgg-conv.weights data/eagle.jpg 13 -rounds 30 -zoom 0.8


Guide