Skip to main content

A Keras implementation of Deep Dream for any image

Project description

Deep Dream generator in Keras by using Inceptionv3 model

Installation

pip install deep4dream
or in colab google cloud
!pip install deep4dream

Usage

from deep4dream import deep_dream
image_path='sky.jpg' #input image
new_dream='dream_sky' #result_prefix
iterations_no=200  #Number of ascent steps per scale
deep_dream.deep_dream_image(image_path,new_dream,iterations_no)

Specific iterations_no Number of ascent steps per scale Selection

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

deep4dream-0.2.2.tar.gz (3.6 kB view details)

Uploaded Source

Built Distribution

deep4dream-0.2.2-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

Details for the file deep4dream-0.2.2.tar.gz.

File metadata

  • Download URL: deep4dream-0.2.2.tar.gz
  • Upload date:
  • Size: 3.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/46.0.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.0

File hashes

Hashes for deep4dream-0.2.2.tar.gz
Algorithm Hash digest
SHA256 1a7c16b2898649cd4c8c5b95fce5fb6912894e92949a10b99925e88b87716288
MD5 9f09519add73c51439e18c9913d3c94f
BLAKE2b-256 b1ca14b8f6c070c1989fa2d8237ca581d8fa0b595d217541dff11c1685c6e21a

See more details on using hashes here.

File details

Details for the file deep4dream-0.2.2-py3-none-any.whl.

File metadata

  • Download URL: deep4dream-0.2.2-py3-none-any.whl
  • Upload date:
  • Size: 4.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/46.0.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.0

File hashes

Hashes for deep4dream-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 b6b7fbdd726488a0cb08c386e4bbcf381117a636d87d83fdda6603d70d2c7b75
MD5 ae9d4266d36c7d8617ebb1ffe560c295
BLAKE2b-256 51599d85aba2311eed041aa11aa314749ea538a1802074d6654095a931122915

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page