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

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