Clean up to arxiv (and move any ml related to the agentic repo) (#8)

This commit is contained in:
autistic-symposium-helper 2024-11-17 16:18:55 -08:00 committed by GitHub
parent f4d00ced80
commit 726e24b74d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
55 changed files with 4345 additions and 718 deletions

1
Deep_Art/bat-country-test/a.sh Executable file
View file

@ -0,0 +1 @@
echo aaa

View 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)

View file

@ -0,0 +1,10 @@
#!/usr/bin/env python
""" Create dream 2 """
bc = BatCountry(args.base_model)
features = bc.prepare_guide(Image.open(args.guide_image), end=args.layer)
image = bc.dream(np.float32(Image.open(args.image)), end=args.layer,
iter_n=20, objective_fn=BatCountry.guided_objective,
objective_features=features,)
bc.cleanup()

Binary file not shown.

After

Width:  |  Height:  |  Size: 211 KiB