mirror of
https://github.com/autistic-symposium/tensorflow-for-deep-learning-py.git
synced 2025-05-11 03:04:59 -04:00
Clean up to arxiv (and move any ml related to the agentic repo) (#8)
This commit is contained in:
parent
f4d00ced80
commit
726e24b74d
55 changed files with 4345 additions and 718 deletions
13
Deep_Art/bat-country-test/bat_dream.py
Normal file
13
Deep_Art/bat-country-test/bat_dream.py
Normal file
|
@ -0,0 +1,13 @@
|
|||
#!/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