Skip to content

Deep Dream implementation inspired from official keras code

Notifications You must be signed in to change notification settings

parmarsuraj99/deep-dream-keras

Repository files navigation

deep-dream-keras

Deep Dream implementation inspired from official keras implementaion.

Script to keep dreaming in a loop and creating a video from the frames.

Example

  • On one image

    python src/dream.py \
      --src_img inputs/flowers_pixel.jpg \
      --result_img results/flowers_pixel_dream.jpg \
      --downscale_factor 1.5 
  • Keep Dreaming

    python src/keep_dreaming.py \
      --src_img inputs/aus.jpg \
      --directory dream_seq \
      --iterations 100 \
      --overwrite_save_dir false
    python src/create_video.py \
      --frames_dir dream_seq \
      --fps 60 \
      --output_file results/video.avi
      OUTPUT:
    
      100%|█████████████████████████████████████████████████| 7/7 [00:00<00:00, 218.68it/s] 
      video saved: results/video.avi 

About

Deep Dream implementation inspired from official keras code

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published