Note: If your graphics card isn't CUDA supported, things might not work.
To download Python, open Command Prompt and type in
python
Download here https://www.anaconda.com/products/individual
conda create -n tf_gpu_env python=3.9
conda activate tf_gpu_env
conda install tensorflow-gpu -c anaconda
conda install cudnn -c conda-forge
conda install cudatoolkit -c anaconda
conda install -c conda-forge opencv ffmpeg
conda install -c conda-forge matplotlib
conda install -c anaconda pillow
conda install -c conda-forge glob2
python
import tensorflow as tf
print('Num GPUs Available', len(tf.config.list_physical_devices('GPU')))
exit()
cd path/to/deep_dream
Note: You have to do this everytime you restart anaconda.
conda activate tf-gpu
- Put all images in the images_to_deep_dream folder.
- All converted deep dream images will be generated in the deep_dream_images_input folder.
- All converted images can be found in the deep_dream_images_output folder.
python dream_images.py
- Put video in the video_to_deep_dream folder.
- Generated video can be found in the video_output folder.
Tip If you want to stop the process press ctrl+c twice. When the video hasn't finished generating yet and you start the script again, it will continue where it has left of.
python dream_video.py
- Put a picture in the dream_on_image_input folder.
- Generated pictures can be found in the dream_on_images_output folder.
Tip If you want to stop the process press ctrl+c twice.
python dream_on.py
- Generate a video from the images frames created from
- dream_images.py
- dream_on.py
- Video can be found in the video_output folder.
python dream_images_to_video.py