Commit Graph

171 Commits (b342da4e0ffb7654ccf219c374a34ebe0a4e4afc)

Author SHA1 Message Date
enzymezoo-code da2e4755a5 Merge branch 'dev' of https://github.com/deforum/stable-diffusion into inpainting_1.0 2022-08-29 17:43:07 -05:00
pharmapsychotic cbcda88a82 Clean up 2022-08-29 17:38:44 -05:00
enzymezoo-code a761290917 Indexing errors fixed when masking. Default mask image added. 2022-08-29 16:33:32 -05:00
pharmapsychotic 78dbba6b46 Color match modes for none, rgb, hsv, lab 2022-08-29 13:57:21 -05:00
enzymezoo-code 695431b51d changing git clone to deforum inpainting repo 2022-08-29 13:36:18 -05:00
enzymezoo-code fe8810319b Fixed missmatching steps. Strength can be used without an init image. 2022-08-29 13:18:17 -05:00
pharmapsychotic 356102dc3f Merge branch 'dev' of https://github.com/deforum/stable-diffusion into dev 2022-08-29 13:01:20 -05:00
pharmapsychotic b3f21f660f Restore defaults settings of anim mode None, prompts, and notebook name 2022-08-29 13:00:16 -05:00
enzymezoo-code 8531bfaafa Removed masked_noise_modifier from args 2022-08-29 11:28:54 -05:00
enzymezoo-code 242dd6db4a Inpainting method added 2022-08-29 11:28:48 -05:00
viztopia c5aaf7688e key framing interpolation 2022-08-28 17:12:00 -04:00
aredden 213491ab43 Adding strength/noise/scale schdules for animation 2022-08-28 13:48:44 -04:00
aredden bd59516d40 Adding k-samplers file in helpers & colab convert script 2022-08-28 12:32:07 -04:00
deforum 0ed1c391a3
Update Deforum_Stable_Diffusion.py 2022-08-27 20:42:22 -07:00
deforum 8964516505
Update Deforum_Stable_Diffusion.py 2022-08-27 17:48:59 -07:00
deforum fdadbf6afb
Add files via upload 2022-08-27 17:47:26 -07:00
deforum 80e868bd93
add grids, fix warning 2022-08-27 17:44:26 -07:00
thibaudart 46265de4fb
grid with loop inversion 2022-08-27 11:05:00 +02:00
deforum 78e86bd2b4
half precision toggle does not work with init 2022-08-26 22:19:12 -07:00
deforum 648b375dc2
fix link inits 2022-08-26 22:16:25 -07:00
deforum d78bb699cc
Update Deforum_Stable_Diffusion.py 2022-08-26 19:42:14 -07:00
deforum 7bcae4a19c
Update Deforum_Stable_Diffusion.py 2022-08-26 19:40:51 -07:00
Thor 627af98f35
init_image batching
Batches init images by entering a directory path into the `init_image` variable instead of an image path (both methods can be used in the same paramater field).
It iterates over the `init_array` list that contains the image paths. If `use_init` is False, the list will countain an empty string so that it runs the prompts loop once without any initial images (so as if it would usually).
2022-08-27 01:10:21 +02:00
deforum 50a453ceaa
add half_precision 2022-08-26 14:58:14 -07:00
deforum 28f3735479
fix prompts in settings batchdir make2d add 4ema 2022-08-26 08:51:51 -07:00
viztopia 220a71d076 Fixed Seed Interpolation 2022-08-26 10:48:47 -04:00
pharmapsychotic 0b73a81bd1 Rename batchdir to batch_name, include in filename for image and video, use 5 digits for index/frame
Lots of differing opinions on preferences for filenames so we probably want a drop down with a few options in the future. For now match the v0.0 names more closely.
2022-08-25 21:17:10 -05:00
pharmapsychotic bb0feb7c6d Move model section up to top by request 2022-08-25 18:58:02 -05:00
pharmapsychotic a16fff38e4 Border mode option for animations, lower default previous_frame_noise setting 2022-08-25 18:44:03 -05:00
pharmapsychotic 3b9c7409c1 Continue video input merge, combine with main animation loop 2022-08-25 18:08:22 -05:00
pharmapsychotic 43655f9b4c Merge branch 'video_inits' of https://github.com/nonlethalart/stable-diffusion into nonlethalart-video_inits 2022-08-25 16:59:50 -05:00
pharmapsychotic 1dafeb9ade Color coherence for animations!
The model tends to drift towards purples and saturated colors. Stayed up late collaborating with the zippy twins and coming up with techniques to keep nice colors. This adds color_coherence setting with MatchFrame0 that maintains rgb and hsv histogram match to first frame. Also setting to add bit of noise each frame to keep new details coming. More options and modes coming!
Also put animation options in anim_args object and include them in settings.txt
2022-08-25 16:33:22 -05:00
unknown 2106ad4fc8 adding input video 2022-08-25 13:36:38 -07:00
pharmapsychotic b50d1b3c21 . 2022-08-24 13:23:23 -05:00
pharmapsychotic abb0c49f45 Support for inits and outputs of raw latent vector and sample tensors
This prevents repeated precision loss going out to 8bit per channel images while doing the video transforms.
2022-08-24 12:56:55 -05:00
pharmapsychotic e37533ad8b Couple animation fixes and cell to create and preview mp4 2022-08-24 05:06:24 -05:00
pharmapsychotic ce54e9cd87 Code cleanup and 2D animations 2022-08-24 03:56:44 -05:00
deforum b687b7cdcc
Update Deforum_Stable_Diffusion.py 2022-08-23 22:09:31 -07:00
deforum 28fc64d0c7
Update Deforum_Stable_Diffusion.py 2022-08-23 20:40:15 -07:00
deforum 80d06c4651
Add files via upload 2022-08-23 20:23:51 -07:00
pharmapsychotic 6d49717fb2 Fix for colab restart runtime getting proper import paths 2022-08-23 22:10:29 -05:00
deforum 61ab1ccea1
Update Deforum_Stable_Diffusion.py 2022-08-23 20:02:00 -07:00
deforum 97bd8123ca
Add files via upload 2022-08-23 19:06:03 -07:00
deforum 3bf47ee32f
Add files via upload 2022-08-23 18:48:26 -07:00
deforum e65787140e
Add files via upload 2022-08-23 18:35:09 -07:00
deforum 25313d9997
Add files via upload 2022-08-23 18:21:04 -07:00
deforum e02bdd6290
Add files via upload 2022-08-23 18:10:58 -07:00
pharmapsychotic 62174da269 Support for urls for init image, fix args.prompts issue 2022-08-23 18:06:14 -05:00
pharmapsychotic eacae5f0d6 Fix for Google Colab ui showing "self." on all the args 2022-08-23 16:58:12 -05:00
deforum dc6cd1a6f6
Add files via upload 2022-08-23 13:11:28 -07:00
Thor e877cc637a
load settings, save settings
Settings now save through the `DeforumArgs` method `save()` and the paramater format is saved in yaml instead of json so that it is easier to read for users, the file is saved in .txt for the same reason.

Settings are loaded by importing the .txt file of the saved settings. They  get turned into class variables with SimpleNamespace, and then these variables are updated with the main  `DeforumArgs` class.
2022-08-23 21:45:55 +02:00
aredden 41e9eefa6a Add sampler_fn for K samplers 2022-08-23 15:37:14 -04:00
pharmapsychotic 36835eaa19
Merge branch 'deforum:main' into main 2022-08-23 13:55:47 -05:00
pharmapsychotic 1909dd03e0 Eliminate the need to restart runtime in Colab during setup
Next step could simplify by changing the forked k-diffusion repo and tree copy dependencies in place for bonus autocompletes in colab
2022-08-23 13:55:19 -05:00
enzymezoo-code 435abfaf55 Fixed syntax errors 2022-08-23 13:09:09 -05:00
enzymezoo-code 2bcd5008f0 Merge branch 'main' of https://github.com/deforum/stable-diffusion into deforum 2022-08-23 12:46:11 -05:00
enzymezoo-code 4078061df3 Init images for k-diffusion samplers 2022-08-23 12:44:47 -05:00
Alex Redden 9c13f1df91
Merge branch 'deforum:main' into main 2022-08-23 13:13:18 -04:00
aredden 7fa6047ba3 Adding save_samples function in helpers directory 2022-08-23 13:10:46 -04:00
deforum 084d753252
Update Deforum_Stable_Diffusion.py 2022-08-23 09:55:04 -07:00
deforum 1df4a291c4
Update Deforum_Stable_Diffusion.py 2022-08-22 23:12:08 -07:00
deforum 7c2da89745
Add files via upload 2022-08-22 22:45:58 -07:00
pharmapsychotic d5f3a51ce6 Change params to be member variables 2022-08-22 18:33:57 -05:00
pharmapsychotic 2583cb6b00 Revert "Change params to be member variables"
This reverts commit ce54bae9fe.
2022-08-22 18:33:16 -05:00
pharmapsychotic ce54bae9fe Change params to be member variables 2022-08-22 18:23:59 -05:00
pharmapsychotic b3f3ed5e21 Integrate changes from thibaud
- batch prompting
- gird spacing 0
- move model load outside main loop
2022-08-22 17:21:19 -05:00
pharmapsychotic 153d4c619c Integrate enzymezoo's dynamic thresholding 2022-08-22 15:43:13 -05:00
pharmapsychotic c92fa5d889 Change shell commands to python api calls so works in colab, windows, linux 2022-08-22 15:13:13 -05:00
pharmapsychotic 21c19e1b08 Fix bug using custom model paths on Google Drive
the models_path variable was aliased so the Colab GUI would change the non-google drive version instead of the correct one resulting in AI/models always being used regardless of what user entered.
2022-08-22 12:09:39 -05:00
deforum 71c85e3349
Add files via upload 2022-08-21 23:12:04 -07:00
deforum 1ec4944300
Add files via upload 2022-08-21 22:59:22 -07:00