├── .gitignore ├── LICENSE ├── README.md ├── cloud.jpg ├── deep-dream-pytorch.ipynb ├── deepdream_cloud.jpg ├── deepdream_starry_night.jpg ├── deepdream_wave.jpg ├── starry_night.jpg └── wave.jpg /.gitignore: -------------------------------------------------------------------------------- 1 | .ipynb_checkpoints/ 2 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2018 Duc Ngo 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # deep-dream-in-pytorch 2 | Pytorch (https://github.com/pytorch/pytorch) implementation of the deep dream (https://en.wikipedia.org/wiki/DeepDream) computer vision algorithm 3 | 4 | ## Installation 5 | 6 | Install Jupyter notebook with Anaconda 7 | 8 | http://jupyter.org/install 9 | 10 | Run `jupyter notebook` and open [deep-dream-pytorch.ipynb](deep-dream-pytorch.ipynb) 11 | 12 | Note: to improve performance set CUDA_ENABLED = True in the notebook if you have a capable Nvidia GPU. 13 | 14 | ## Examples 15 | 16 | Cloud 17 | 18 | ![img](cloud.jpg) 19 | 20 | DeepDream Cloud 21 | 22 | ![dd](deepdream_cloud.jpg) 23 | 24 | 25 | Waves 26 | 27 | ![img](wave.jpg) 28 | 29 | DeepDream Waves 30 | 31 | ![dd](deepdream_wave.jpg) 32 | 33 | Starry Night 34 | 35 | ![img](starry_night.jpg) 36 | 37 | DeepDream Starry Night 38 | 39 | ![dd](deepdream_starry_night.jpg) 40 | 41 | [Fun video games with good AI](https://play.google.com/store/apps/dev?id=8454869713871668206) 42 | ----------------------- 43 | - [Tic Tac Toe](http://play.google.com/store/apps/details?id=com.popoko.gomokuvn) 44 | - [Chess](http://play.google.com/store/apps/details?id=com.popoko.chessru) 45 | - [Gomoku](http://play.google.com/store/apps/details?id=com.popoko.gomokukr) 46 | - [Minesweeper](http://play.google.com/store/apps/details?id=com.popoko.minesweeper) 47 | -------------------------------------------------------------------------------- /cloud.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/duc0/deep-dream-in-pytorch/108d11d77462829b1186945af324a84d782925ca/cloud.jpg -------------------------------------------------------------------------------- /deepdream_cloud.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/duc0/deep-dream-in-pytorch/108d11d77462829b1186945af324a84d782925ca/deepdream_cloud.jpg -------------------------------------------------------------------------------- /deepdream_starry_night.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/duc0/deep-dream-in-pytorch/108d11d77462829b1186945af324a84d782925ca/deepdream_starry_night.jpg -------------------------------------------------------------------------------- /deepdream_wave.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/duc0/deep-dream-in-pytorch/108d11d77462829b1186945af324a84d782925ca/deepdream_wave.jpg -------------------------------------------------------------------------------- /starry_night.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/duc0/deep-dream-in-pytorch/108d11d77462829b1186945af324a84d782925ca/starry_night.jpg -------------------------------------------------------------------------------- /wave.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/duc0/deep-dream-in-pytorch/108d11d77462829b1186945af324a84d782925ca/wave.jpg --------------------------------------------------------------------------------