Is there any PyTorch implementation for the deep dream?

epicure: <p>There is the TF version of it<br>
<aside class="onebox githubblob">
  <header class="source">
      <a href="https://github.com/tensorflow/tensorflow/blob/master/tensorflow/examples/tutorials/deepdream/deepdream.ipynb" target="_blank" rel="nofollow noopener">github.com</a>
  </header>
  <article class="onebox-body">
    <h4><a href="https://github.com/tensorflow/tensorflow/blob/master/tensorflow/examples/tutorials/deepdream/deepdream.ipynb" target="_blank" rel="nofollow noopener">tensorflow/tensorflow/blob/master/tensorflow/examples/tutorials/deepdream/deepdream.ipynb</a></h4>
<pre><code class="lang-ipynb">{
  "cells": [
    {
      "cell_type": "markdown",
      "metadata": {
        "colab_type": "text",
        "id": "xu2SVpFJjmJr"
      },
      "source": [
        "# DeepDreaming with TensorFlow"
      ]
    },
    {
      "cell_type": "markdown",
      "metadata": {
        "colab_type": "text",
        "id": "eALNdPq7iH9a"
      },
      "source": [
        "This example has moved.\n",
</code></pre>

  This file has been truncated. <a href="https://github.com/tensorflow/tensorflow/blob/master/tensorflow/examples/tutorials/deepdream/deepdream.ipynb" target="_blank" rel="nofollow noopener">show original</a>

  </article>
  <div class="onebox-metadata">
    
    
  </div>
  <div style="clear: both"></div>
</aside>
</p>
<p>and the original Caffe version of it<br>
<aside class="onebox githubblob">
  <header class="source">
      <a href="https://github.com/google/deepdream/blob/master/dream.ipynb" target="_blank" rel="nofollow noopener">github.com</a>
  </header>
  <article class="onebox-body">
    <h4><a href="https://github.com/google/deepdream/blob/master/dream.ipynb" target="_blank" rel="nofollow noopener">google/deepdream/blob/master/dream.ipynb</a></h4>
<pre><code class="lang-ipynb">{
 "metadata": {
  "colabVersion": "0.3.1",
  "default_view": {},
  "name": "",
  "views": {}
 },
 "nbformat": 3,
 "nbformat_minor": 0,
 "worksheets": [
  {
   "cells": [
    {
     "cell_type": "markdown",
     "metadata": {
      "colab_type": "text",
      "id": "RMhGdYHuOZM8"
     },
     "source": [
      "# Deep Dreams (with Caffe)\n",
</code></pre>

  This file has been truncated. <a href="https://github.com/google/deepdream/blob/master/dream.ipynb" target="_blank" rel="nofollow noopener">show original</a>

  </article>
  <div class="onebox-metadata">
    
    
  </div>
  <div style="clear: both"></div>
</aside>
</p>
<p>and the Torch version of it<br>
<aside class="onebox whitelistedgeneric">
  <header class="source">
      <img src="https://github.githubassets.com/favicons/favicon.svg" class="site-icon" width="32" height="32">
      <a href="https://github.com/erilyth/DeepDream-Torch" target="_blank" rel="nofollow noopener">GitHub</a>
  </header>
  <article class="onebox-body">
    <img src="https://avatars1.githubusercontent.com/u/9864149?s=400&amp;v=4" class="thumbnail onebox-avatar" width="400" height="400">

<h3><a href="https://github.com/erilyth/DeepDream-Torch" target="_blank" rel="nofollow noopener">erilyth/DeepDream-Torch</a></h3>

<p>Google Deep Dream Implementation in Torch - Modified in order to experiment - erilyth/DeepDream-Torch</p>


  </article>
  <div class="onebox-metadata">
    
    
  </div>
  <div style="clear: both"></div>
</aside>
</p>
<p>but I was unable to find the PyTorch version of it.</p>
<p>I’d like to port the TF version to PyTorch but not successful yet.</p>

chenyuntc: <aside class="onebox whitelistedgeneric">
  <header class="source">
      <img src="https://github.githubassets.com/favicons/favicon.svg" class="site-icon" width="32" height="32">
      <a href="https://github.com/XavierLinNow/deepdream_pytorch" target="_blank" rel="nofollow noopener">GitHub</a>
  </header>
  <article class="onebox-body">
    <img src="https://avatars3.githubusercontent.com/u/12907470?s=400&amp;v=4" class="thumbnail onebox-avatar" width="420" height="420">

<h3><a href="https://github.com/XavierLinNow/deepdream_pytorch" target="_blank" rel="nofollow noopener">XavierLinNow/deepdream_pytorch</a></h3>

<p>Contribute to XavierLinNow/deepdream_pytorch development by creating an account on GitHub.</p>


  </article>
  <div class="onebox-metadata">
    
    
  </div>
  <div style="clear: both"></div>
</aside>


Mayukh09: <p>Try looking at <a href="https://colab.research.google.com/github/Mayukhdeb/torch-dreams/blob/master/notebooks/torch_dreams_examples.ipynb#scrollTo=JzHC8cNG7fXn" rel="nofollow noopener">this colab notebook</a> which is based on <strong>torch-dreams</strong>. You could use torch-dreams to generate deep-dreams on images and videos.</p>
<p>Torch-dreams works for a lot of pre-trained PyTorch models, it also works on any custom PyTorch model but that takes a bit more effort from the user.</p>
<aside class="onebox allowlistedgeneric">
  <header class="source">
      <img src="https://github.githubassets.com/favicons/favicon.svg" class="site-icon" width="15" height="15">
      <a href="https://github.com/Mayukhdeb/torch-dreams" target="_blank" rel="nofollow noopener">GitHub</a>
  </header>
  <article class="onebox-body">
    <img src="https://avatars1.githubusercontent.com/u/53133634?s=400&amp;v=4" class="thumbnail onebox-avatar" width="60" height="60">

<h3><a href="https://github.com/Mayukhdeb/torch-dreams" target="_blank" rel="nofollow noopener">Mayukhdeb/torch-dreams</a></h3>

<p>Generate deep dreams in PyTorch, minus the boilerplate code - Mayukhdeb/torch-dreams</p>


  </article>
  <div class="onebox-metadata">
    
    
  </div>
  <div style="clear: both"></div>
</aside>