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...")
 
(5 intermediate revisions by the same user not shown)
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  ==
 
*Using Deep Dream with Darknet (GPU + OpenCV). Tested on Ubuntu 16.04  
 
*Using Deep Dream with Darknet (GPU + OpenCV). Tested on Ubuntu 16.04  
 +
wget http://pjreddie.com/media/files/vgg-conv.weights
  
=== Apply Deep Dream to an image ===
+
=== Apply DeepDream to an image ===
  
 
*Go to the directory and type:
 
*Go to the directory and type:
Line 20: Line 17:
 
  ./darknet nightmare cfg/vgg-conv.cfg vgg-conv.weights data/eagle.jpg 13
 
  ./darknet nightmare cfg/vgg-conv.cfg vgg-conv.weights data/eagle.jpg 13
  
 
+
=== Generate a sequence of images with DeepDream ===
=== Generate a sequence of images with Deep Dream ===
 
  
 
*Go to the directory and run the detector for videos:
 
*Go to the directory and run the detector for videos:
Line 30: Line 26:
 
=== Guide ===
 
=== Guide ===
 
*https://pjreddie.com/darknet/nightmare/
 
*https://pjreddie.com/darknet/nightmare/
 +
*Terminal basic tutorial: https://maker.pro/linux/tutorial/basic-linux-commands-for-beginners

Revision as of 17:06, 10 January 2019

Installation

Generating an Image

  • Using Deep Dream with Darknet (GPU + OpenCV). Tested on Ubuntu 16.04
wget http://pjreddie.com/media/files/vgg-conv.weights

Apply DeepDream 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 DeepDream

  • 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