{"id":13747239,"url":"https://github.com/kesara/deepdreamer","last_synced_at":"2025-08-02T01:12:10.266Z","repository":{"id":34645174,"uuid":"38605970","full_name":"kesara/deepdreamer","owner":"kesara","description":"Easy to configure Python program that make use of Google's DeepDream.","archived":false,"fork":false,"pushed_at":"2018-08-24T23:25:43.000Z","size":59,"stargazers_count":209,"open_issues_count":14,"forks_count":42,"subscribers_count":12,"default_branch":"master","last_synced_at":"2025-04-05T04:24:35.123Z","etag":null,"topics":["ai","art","artificial-intelligence","deepdream","hacktoberfest","python"],"latest_commit_sha":null,"homepage":"https://deepdreamer.fq.nz/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kesara.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-07-06T08:12:11.000Z","updated_at":"2024-11-28T16:31:21.000Z","dependencies_parsed_at":"2022-07-11T06:00:32.721Z","dependency_job_id":null,"html_url":"https://github.com/kesara/deepdreamer","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/kesara/deepdreamer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kesara%2Fdeepdreamer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kesara%2Fdeepdreamer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kesara%2Fdeepdreamer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kesara%2Fdeepdreamer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kesara","download_url":"https://codeload.github.com/kesara/deepdreamer/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kesara%2Fdeepdreamer/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268322440,"owners_count":24231819,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-01T02:00:08.611Z","response_time":67,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ai","art","artificial-intelligence","deepdream","hacktoberfest","python"],"created_at":"2024-08-03T06:01:21.981Z","updated_at":"2025-08-02T01:12:10.243Z","avatar_url":"https://github.com/kesara.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"# [Deep Dreamer](https://deepdreamer.fq.nz/)\nEasy to configure Python program that make use of [Google's DeepDream](https://github.com/google/deepdream/)\n\n* [Requirements](#requirements)\n* [Installation](#installation)\n* [Usage](#usage)\n* [Configuration options](#configuration-options)\n* [Examples](#examples)\n\n## Requirements\n* Python 3\n* [NumPy](https://pypi.python.org/pypi/numpy)\n* [SciPy](https://pypi.python.org/pypi/scipy/)\n* [Pillow](https://pypi.python.org/pypi/Pillow/)\n* [Caffe](http://caffe.berkeleyvision.org/)\n* [FFmpeg](https://www.ffmpeg.org/) (Optional, required for videos.)\n\n## Installation\n1. Install [NumPy](https://pypi.python.org/pypi/numpy), [SciPy](https://pypi.python.org/pypi/scipy/), [Pillow](https://pypi.python.org/pypi/Pillow/) and [Caffe](http://caffe.berkeleyvision.org/). *On Ubuntu 17.10 installing caffe will usually install all other dependencies.*\n2. Clone this project. `git clone https://github.com/kesara/deepdreamer.git`\n3. Go to project directory. `cd deepdeamer`\n4. Download **deploy.prototxt** from [bvlc_googlenet](https://github.com/BVLC/caffe/tree/master/models/bvlc_googlenet) into the project directory.\n5. Add line `force_backward: true` to **deploy.prototxt** file.\n6. Download **bvlc_googlenet.caffemodel** from [bvlc_googlenet](https://github.com/BVLC/caffe/tree/master/models/bvlc_googlenet) into the project directory.\n7. (Optional) Download MIT's \"Places\" neural net, download the **Places205-GoogLeNet** from [their website](http://places.csail.mit.edu/downloadCNN.html). You need the **deploy_places205.protxt** and **googlelet_places205_train_iter_2400000.caffemodel** files from the archive.\n\n## Usage\n* Just deep dreaming\n`python3 deepdreamer.py image.jpg`\n* Create a deepdream gif\n`python3 deepdreamer.py --gif true image.jpg`\n* Create a deepdream video (requires ffmpeg)\n`python3 deepdreamer.py --video video.mp4`\n\n## Configuration options\n```\nusage: deepdreamer.py [-h] [--zoom {true,false}] [--scale SCALE]\n                      [--dreams DREAMS] [--itern ITERN] [--octaves OCTAVES]\n                      [--octave-scale OCTAVE_SCALE] [--layers LAYERS]\n                      [--clip {true,false}] [--gpuid GPUID]\n                      [--network {bvlc_googlenet,googlenet_place205}]\n                      [--gif {true,false}] [--reverse {true,false}]\n                      [--duration DURATION] [--loop {true,false}]\n                      [--framerate FRAMERATE] [--list-layers] [--video VIDEO]\n                      [image]\n\npositional arguments:\n  image\n\noptional arguments:\n  -h, --help            show this help message and exit\n  --gpuid GPUID         enable GPU with id GPUID (default: disabled)\n  --zoom {true,false}   zoom dreams (default: true)\n  --scale SCALE         scale coefficient for zoom (default: 0.05)\n  --dreams DREAMS       number of images (default: 100)\n  --itern ITERN         dream iterations (default: 10)\n  --octaves OCTAVES     dream octaves (default: 4)\n  --octave-scale OCTAVE_SCALE\n                        dream octave scale (default: 1.4)\n  --layers LAYERS       dream layers (default: inception_4c/output)\n  --clip {true,false}   clip dreams (default: true)\n  --network {bvlc_googlenet,googlenet_place205}\n                        choose the network to use (default: bvlc_googlenet)\n  --gif {true,false}    make a gif (default: false)\n  --reverse {true,false}\n                        make a reverse gif (default: false)\n  --duration DURATION   gif frame duration in seconds (default: 0.1)\n  --loop {true,false}   enable gif loop (default: false)\n  --framerate FRAMERATE\n                        framerate for video (default: 24)\n  --list-layers         list layers\n  --video VIDEO         video file\n```\n\n## Examples\n![Deepdream](https://i.imgur.com/Auikelk.jpg)\n![Deepdream](https://i.imgur.com/Ox1B8wf.gif)\n![Deepdream](https://i.imgur.com/llUZ7Ll.gif)\n![Deepdream](https://i.imgur.com/41GVLNC.gif)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkesara%2Fdeepdreamer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkesara%2Fdeepdreamer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkesara%2Fdeepdreamer/lists"}