This is my python package to implement google's deep dream. The use of this package is fairly simple.
It takes the image path or url as input and displays the deep dream implementation of the image.
Input image to model is this
And the model will output following
- Install the package in your system with following commands
python GoogleDeepDream/setup.py install
- Implement the model whether the image is stored remote or local
2.1 Simple deep dream
Remote image using url of it
python GoogleDeepDream/src/Model/DeepDream.py --image_url "https://github.com/rajeevratan84/ModernComputerVision/raw/main/castara-tobago.jpeg"
or local image using path of it
python GoogleDeepDream/src/Model/DeepDream.py --image_path "castara-tobago.jpeg"
Results
2.2 Improved deep dream
Remote image using url of it
python GoogleDeepDream/src/Model/ImprovedDeepDream.py --image_url "https://github.com/rajeevratan84/ModernComputerVision/raw/main/castara-tobago.jpeg"
or local image using path of it
python GoogleDeepDream/src/Model/ImprovedDeepDream.py --image_path "castara-tobago.jpeg"
Results
The code is completely open source you can use it however you like. If you want to see some improvement in this code, or you did some work on it, please let me. I would love to hear it.
If you're having any problem using it. Please feel free to contact me.
Follow me on