All Projects → sar-gupta → deep-dream-pytorch

sar-gupta / deep-dream-pytorch

Licence: MIT license
Pytorch implementation of DeepDream on VGG16 Network

Programming Languages

Jupyter Notebook
11667 projects

Projects that are alternatives of or similar to deep-dream-pytorch

Retrieval 2017 Cam
Class-Weighted Convolutional Features for Image Retrieval (BMVC 2017)
Stars: ✭ 219 (+376.09%)
Mutual labels:  vgg16
pytorch-accelerated
A lightweight library designed to accelerate the process of training PyTorch models by providing a minimal, but extensible training loop which is flexible enough to handle the majority of use cases, and capable of utilizing different hardware options with no code changes required. Docs: https://pytorch-accelerated.readthedocs.io/en/latest/
Stars: ✭ 125 (+171.74%)
Mutual labels:  pytorch-tutorial
Duke-NLP-WS-2020
Duke Natural Language Processing Winter School 2020
Stars: ✭ 22 (-52.17%)
Mutual labels:  pytorch-tutorial
Srgan
Photo-Realistic Single Image Super-Resolution Using a Generative Adversarial Network
Stars: ✭ 2,641 (+5641.3%)
Mutual labels:  vgg16
neural-dream
PyTorch implementation of DeepDream algorithm
Stars: ✭ 110 (+139.13%)
Mutual labels:  deepdream
Image-Classification
Pre-trained VGG-Net Model for image classification using tensorflow
Stars: ✭ 29 (-36.96%)
Mutual labels:  vgg16
Freezeout
Accelerate Neural Net Training by Progressively Freezing Layers
Stars: ✭ 196 (+326.09%)
Mutual labels:  vgg16
Skin Lesions Classification DCNNs
Transfer Learning with DCNNs (DenseNet, Inception V3, Inception-ResNet V2, VGG16) for skin lesions classification
Stars: ✭ 47 (+2.17%)
Mutual labels:  vgg16
DeepDream
Generative deep learning: DeepDream
Stars: ✭ 17 (-63.04%)
Mutual labels:  deepdream
vgg16 batchnorm
VGG16 architecture with BatchNorm
Stars: ✭ 14 (-69.57%)
Mutual labels:  vgg16
pytorch-deepdream
PyTorch implementation of DeepDream algorithm (Mordvintsev et al.). Additionally I've included playground.py to help you better understand basic concepts behind the algo.
Stars: ✭ 293 (+536.96%)
Mutual labels:  deepdream
Protobuf-Dreamer
A tiled DeepDream project for creating any size of image, on both CPU and GPU
Stars: ✭ 39 (-15.22%)
Mutual labels:  deepdream
mrnet
Building an ACL tear detector to spot knee injuries from MRIs with PyTorch (MRNet)
Stars: ✭ 98 (+113.04%)
Mutual labels:  pytorch-tutorial
Deepfashion
Apparel detection using deep learning
Stars: ✭ 223 (+384.78%)
Mutual labels:  vgg16
deep-blueberry
If you've always wanted to learn about deep-learning but don't know where to start, then you might have stumbled upon the right place!
Stars: ✭ 17 (-63.04%)
Mutual labels:  pytorch-tutorial
S3fd.pytorch
SFD implement with pytorch
Stars: ✭ 212 (+360.87%)
Mutual labels:  vgg16
tf-semantic-segmentation-FCN-VGG16
Semantic segmentation for classifying road. "Fully Convolutional Networks for Semantic Segmentation (2015)" implemented using TF
Stars: ✭ 30 (-34.78%)
Mutual labels:  vgg16
cnn-visualization-keras-tf2
Filter visualization, Feature map visualization, Guided Backprop, GradCAM, Guided-GradCAM, Deep Dream
Stars: ✭ 21 (-54.35%)
Mutual labels:  deepdream
vgg-caffe
The VGG16 and VGG19 networks in caffe with jupyter notebook
Stars: ✭ 45 (-2.17%)
Mutual labels:  vgg16
Text-Classification-LSTMs-PyTorch
The aim of this repository is to show a baseline model for text classification by implementing a LSTM-based model coded in PyTorch. In order to provide a better understanding of the model, it will be used a Tweets dataset provided by Kaggle.
Stars: ✭ 45 (-2.17%)
Mutual labels:  pytorch-tutorial

deep-dream-pytorch

Pytorch implementation of DeepDream on VGG16 Network

Understanding the code

The code consists of mainly two functions:

  1. deep_dream_vgg : This is a recursive function. It is used to create octaves, and to merge (or blend) the image generated by a recursive call with the image at one (recursive) level higher.

  2. dd_helper : This is the actual code for deep dream. The gradients at a particular layer are set equal to the activation of that layer. This results in the maximization of the activations at that particular layer. In other words, we are enhancing the features detected by a layer. Gradient ascent is applied to the input images (i.e. octaves).

Requirements

  • pytorch
  • torchvision
  • PIL
  • numpy
  • matplotlib

Note : In case you don't have a GPU, remove all instances of .cuda() from the code.

Running locally

  • Clone this repository
  • Change into this directory cd deep-dream-pytorch
  • Run a jupyter notebook

References

  1. https://research.googleblog.com/2015/06/inceptionism-going-deeper-into-neural.html
  2. https://www.youtube.com/watch?v=ws-ZbiFV1Ms
  3. https://github.com/google/deepdream
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].