{"id":14959115,"url":"https://github.com/gsurma/deep_dream","last_synced_at":"2025-10-24T16:31:27.032Z","repository":{"id":90787495,"uuid":"216227975","full_name":"gsurma/deep_dream","owner":"gsurma","description":"DeepDream psychodelic image generator.","archived":false,"fork":false,"pushed_at":"2021-07-09T08:50:26.000Z","size":51708,"stargazers_count":39,"open_issues_count":1,"forks_count":15,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-31T03:12:26.021Z","etag":null,"topics":["artificial-intelligence","cnn","convolutional-neural-networks","deep-dream","deep-dreaming","deep-learning","deep-neural-networks","inception","machine-learning","python","python3","style-transfer","tensorflow","tensorflow-examples"],"latest_commit_sha":null,"homepage":"https://gsurma.github.io","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gsurma.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"patreon":"gsurma"}},"created_at":"2019-10-19T15:29:31.000Z","updated_at":"2023-12-25T10:14:58.000Z","dependencies_parsed_at":null,"dependency_job_id":"3bec3758-93f8-4b07-8a8c-e7f335cc813b","html_url":"https://github.com/gsurma/deep_dream","commit_stats":{"total_commits":9,"total_committers":1,"mean_commits":9.0,"dds":0.0,"last_synced_commit":"7a7c83860b4085b745ed1218fc325e11e3396e74"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gsurma%2Fdeep_dream","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gsurma%2Fdeep_dream/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gsurma%2Fdeep_dream/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gsurma%2Fdeep_dream/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gsurma","download_url":"https://codeload.github.com/gsurma/deep_dream/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":237999680,"owners_count":19399920,"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","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":["artificial-intelligence","cnn","convolutional-neural-networks","deep-dream","deep-dreaming","deep-learning","deep-neural-networks","inception","machine-learning","python","python3","style-transfer","tensorflow","tensorflow-examples"],"created_at":"2024-09-24T13:18:52.269Z","updated_at":"2025-10-24T16:31:17.019Z","avatar_url":"https://github.com/gsurma.png","language":"Python","readme":"\u003ch3 align=\"center\"\u003e\n  \u003cimg src=\"assets/deep_dream_icon_web.png\" width=\"300\"\u003e\n\u003c/h3\u003e\n\n# Deep Dream\n\nMinimal Python/TensorFlow implementation of the DeepDream algorithm originally created by [Alexander Mordvintsev](https://ai.googleblog.com/2015/06/inceptionism-going-deeper-into-neural.html).\n\n\u003ccenter\u003e\u003ca href=\"https://www.instagram.com/__deep__dreams__/\"\u003eDaily dose of deep dreams on instagram.\u003c/a\u003e\u003c/center\u003e\n\n\n\n## Usage\n\nTo use on the predefined .jpg image:\n \n\tpython3 deep_dream.py \u003cpath_to_the_image\u003e\n\nor\n\n\tpython3 deep_dream.py\n\nto perform on the random image.\n\n## How does it work?\n\nWe are using **Inception5h** model which was designed to classify images. \n\nDuring the classification process we are providing input images and using gradient descent to adapt weights to the images through filters. \n\n**DeepDream** algorithm does the opposite. It adapts the input images to match the network weights with **gradient ascent** which results in visualizing network filters on the input images giving them psychodelic look.\n\n\n\n## Results\n\n\u003cimg src=\"examples/deep_dream_0.jpeg\"\u003e\n\u003cimg src=\"examples/deep_dream_1.jpeg\"\u003e\n\u003cimg src=\"examples/deep_dream_2.jpeg\"\u003e\n\u003cimg src=\"examples/deep_dream_3.jpeg\"\u003e\n\u003cimg src=\"examples/deep_dream_4.jpeg\"\u003e\n\u003cimg src=\"examples/deep_dream_5.jpeg\"\u003e\n\n\n## Author\n\n**Greg (Grzegorz) Surma**\n\n[**PORTFOLIO**](https://gsurma.github.io)\n\n[**GITHUB**](https://github.com/gsurma)\n\n[**BLOG**](https://medium.com/@gsurma)\n","funding_links":["https://patreon.com/gsurma"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgsurma%2Fdeep_dream","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgsurma%2Fdeep_dream","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgsurma%2Fdeep_dream/lists"}