/DeepDream

Create a deep dream video with your own images.

Primary LanguagePython

DeepDream

Create a deep dream video using your own images. https://trustmeimanengineer.de/en/deep-dream/

Credits and many thanks to:

Prerequisites:

  1. Clone GermanEngineering/DeepDream Git repository.
  1. Install dependencies
  • Navigate to folder containing the requirement files.
    • cd DeepDream/DeepDream
  • List all files.
    • dir
  • If you have a GPU you should execute:
    • pip install -r requirementsGPU.txt
  • If you need to run on CPU execute:
    • pip install -r requirements.txt
  • You can check all installed modules by executing:
    • pip list
  1. Select your start and end image.
  • Create new folders in the DeepDream/DreamImages directory for the start as well as the end image.
  • Copy your images in the respective folder and rename them to "img_0.jpg"
  1. Configure the settings for your custom dream.
  • Open the DeepDream.py file in a text editor.
  • Change the dream1Folder and dream2Folder strings to the name of the folders you just created.
  • Adapt other settings like the used layers, dream duration, fps, ... to your preferences (or leave them at default in case you're not sure)
  1. Run the script by executing:
  • DeepDream.py