mirror of
https://github.com/autistic-symposium/tensorflow-for-deep-learning-py.git
synced 2025-05-12 03:34: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
10
Deep_Art/bat-country-test/bat_dream2.py
Normal file
10
Deep_Art/bat-country-test/bat_dream2.py
Normal 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()
|
Loading…
Add table
Add a link
Reference in a new issue