mirror of
https://github.com/autistic-symposium/tensorflow-for-deep-learning-py.git
synced 2025-05-14 04:32:21 -04:00
Organize folders, add notebook readme
This commit is contained in:
parent
9b583d313c
commit
da1b22cf4a
21 changed files with 18 additions and 6 deletions
|
@ -1,13 +0,0 @@
|
|||
#!/usr/bin/env python
|
||||
|
||||
""" Create dream """
|
||||
|
||||
IMAGE_TO_DREAM = "saturn.jpg"
|
||||
IMAGE_TO_DREAM_OUTPUT = "dream.jpg"
|
||||
|
||||
bc = BatCountry(IMAGE_TO_DREAM)
|
||||
image = bc.dream(np.float32(Image.open())
|
||||
bc.cleanup()
|
||||
result = Image.fromarray(np.uint8(image))
|
||||
|
||||
result.save(IMAGE_TO_DREAM_OUTPUT)
|
Loading…
Add table
Add a link
Reference in a new issue