Difference between revisions of "Deep Dream with Darknet"

From Interaction Station Wiki
Jump to navigation Jump to search
(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...")
 
Line 6: Line 6:
 
*Then, we need to install our modified version of Darknet:
 
*Then, we need to install our modified version of Darknet:
 
*[[Darknet Installation]]
 
*[[Darknet Installation]]
 
*Go to the directory and download the YOLO weights:
 
cd darknet
 
wget https://pjreddie.com/media/files/yolov3.weights
 
  
 
== Generating an Image  ==
 
== Generating an Image  ==

Revision as of 18:13, 9 January 2019

Installation

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