Commit Graph

1150 Commits (e0a4337d8b4bee4d2cbdb5d6dfe4bab7e31cb363)

Author SHA1 Message Date
reallybigname e0a4337d8b Added Optical flow redo generation
Option works in 2D/3D mode
Does a disposable generation before the actual generation to get the flow between previous image and the generation.  Then, it discards that generation and warps the init_sample based on the captured flow before the actual generation happens.
- Takes twice as long (obviously)
- It can introduce smoothing, especially over time, but also adds a type of artistic consistency between frames.
- can be mixed and matched with any other modes, optical flow cadence, video, etc...
2023-03-16 01:39:41 -07:00
hithereai 8cda8dea4f Merge remote-tracking branch 'upstream/automatic1111-webui' into some_fixes_and_tests_14_03 2023-03-15 20:09:00 +02:00
hithereai 57da5bd9a6 fixes 2023-03-15 02:03:15 +02:00
hithereai f56348bac4 add deprecation vals, cut names from match frame 0 to just rgb/lab etc 2023-03-15 00:54:22 +02:00
reallybigname e0b75bee5d
Merge branch 'deforum-art:automatic1111-webui' into automatic1111-webui 2023-03-14 14:40:10 -07:00
reallybigname df3071c3b4 Added color_coherence 'Image'
You can now color match against an image!
- the one caveat is that normal color matching is done with the prev_img. There is no prev_img for the 1st frame, so I had to force the color match on the output rather than the input. It makes the first frame look sharpened at times, since the histogram is forced on it.

I also fixed video color coherence
- I realized that it was never color matching on the first frame for video. You usually just wouldn't notice, since you're using the video.
- I also realized it was one frame off, fixed.
2023-03-14 14:39:44 -07:00
hithereai 280296b257 cut load_settings func in half, code length wise 2023-03-14 21:59:55 +02:00
kabachuha e3615a9fb8 bump version 2023-03-14 20:13:55 +03:00
kabachuha 2366bfdb47 use strength schedule in video input
closes #455
2023-03-14 15:24:16 +03:00
kabachuha b90bd3e580 fix CN not applying to the first frame 2023-03-14 14:59:20 +03:00
kabachuha 7dfb4d0bdf remove the strength_0_no_init msg 2023-03-14 14:52:08 +03:00
kabachuha 68b24d03ad
Merge pull request #469 from deforum-art/interpolate-perlin
allow perlin for any resolution with F.interpolate
2023-03-14 14:50:08 +03:00
kabachuha 8f894d06b8 allow perlin for any resolution with F.interpolate 2023-03-14 14:46:10 +03:00
kabachuha 45db5db99c replace " and ' in formulae only once
thanks for @MatissesProjects 's observation
2023-03-14 13:59:27 +03:00
hithereai 75e01295bc Merge remote-tracking branch 'upstream/automatic1111-webui' into fix-matisse 2023-03-14 01:02:43 +02:00
kabachuha a1c44ef4c6 drop deprecated v1 upscaling
since it contains dependencies, broken in the latest webui update
2023-03-14 01:20:26 +03:00
kabachuha 490ccba11e fix frame index math eval 2023-03-14 00:41:28 +03:00
kabachuha 479ef445da fixup 2023-03-14 00:24:42 +03:00
kabachuha 3ae9e64f1d fix formulae parsing 2023-03-14 00:21:54 +03:00
kabachuha 07760403e1 fixup 2023-03-14 00:16:04 +03:00
kabachuha ff5e7b18ad unhardcode strength-related settings 2023-03-14 00:12:37 +03:00
kabachuha f91ffbc812 use the new preset args for the GI mode 2023-03-14 00:04:19 +03:00
kabachuha a5eced7dc1 fix keyframe number interpolation 2023-03-13 23:58:59 +03:00
kabachuha 89b46124d4 auto-set the needed args for the GI mode 2023-03-13 22:51:11 +03:00
kabachuha d4a48b1e0a re-add matisse's changes 2023-03-13 22:22:22 +03:00
kabachuha 1ce8ff4e92 update GI info 2023-03-13 20:45:47 +03:00
kabachuha 088634c286 set the default init strength to 0.8 2023-03-13 20:32:21 +03:00
kabachuha d701305bd1 add try catch to cn ui setup 2023-03-13 19:56:13 +03:00
kabachuha dc4cfedea4 link the recommended CN version 2023-03-13 19:23:30 +03:00
kabachuha d95593eac9 redirect CN problems reporting 2023-03-13 19:20:40 +03:00
kabachuha bdde26096b fixup 2023-03-13 18:55:16 +03:00
kabachuha 0476e41386 option to not overwrite input and select vid path 2023-03-13 18:50:55 +03:00
kabachuha 5351cc4132 use better color 2023-03-13 18:36:14 +03:00
kabachuha 77f1c1816c add some more notes on CN 2023-03-13 18:33:02 +03:00
kabachuha 44266999e2 remove note on img2img slider option
it's auto-disabled anyway now
2023-03-13 18:28:48 +03:00
kabachuha 4a475cccd2 move CN infotext 2023-03-13 18:28:04 +03:00
kabachuha 6d9033f1c9 remove the CN not found error message
the tab will be disactivated anyway, so we don't need the error message
2023-03-13 18:25:09 +03:00
kabachuha 363e07acfe Merge branch 'automatic1111-webui' into cn-attempt-3 2023-03-13 18:22:49 +03:00
hithereai 3de256751a Merge remote-tracking branch 'upstream/automatic1111-webui' into cn-attempt-3 2023-03-13 17:19:27 +02:00
hithereai 4e827e7c81 Merge remote-tracking branch 'upstream/automatic1111-webui' into pr/452 2023-03-13 17:01:27 +02:00
kabachuha ee7420c320
Merge pull request #460 from hithereai/some_tests_12_03_23
Add noise multiplier scheduling, move clipskip location in ui, auto-disable "with img2img do exactly x steps"
2023-03-13 17:59:57 +03:00
kabachuha 2c10600cb4
Merge pull request #456 from hithereai/TESTS11323
less code duplication in load_args function
2023-03-13 17:48:38 +03:00
reallybigname 60fcc288e5 fix for color match sample incorrect colors
Once I tried some different images I realized that the color balance was RGB/BGR swapped on the color matches. Ooops! This fixes it. Perfect color matching after strength 0.
2023-03-13 06:54:04 -07:00
reallybigname bb3b7bbd72 Fix for optical flow cadence on strength 0
I wasn't thinking about it quite right before, and I was cancelling the wrong cadence section based on strength 0. This repairs it.

It now looks at the proper strength key (from the tween frame_start_idx) to see if strength is 0 and skip optical flow cadence if it is.

Also, fixes and condenses the reporting of whether it's a cadence frame or an optical flow cadence by combining the info with the tween reporting.
2023-03-13 06:04:17 -07:00
reallybigname 48027d11ed Fixed color match and optical flow on strength 0
I made cadence skip optical flow on frames with strength 0.  This won't actually help you unless your cadence start is aligned perfectly with your strength 0.

Made strength 0 reset color match, as if it were the first frame in an animation.

I plan to make a scene change schedule, at which point I can add a strength threshold value for scene changes and replace this code.
2023-03-12 21:53:27 -07:00
hithereai d8d851dbc5 Merge remote-tracking branch 'upstream/automatic1111-webui' into cn-attempt-3 2023-03-13 01:40:24 +02:00
hithereai f06c222ba7 Merge remote-tracking branch 'upstream/automatic1111-webui' into some_tests_12_03_23 2023-03-13 01:40:08 +02:00
hithereai e67339c837 change order to align with other new lines of code 2023-03-13 01:38:05 +02:00
hithereai 4387ab586d fix wrong cli printing when not in 3d mode 2023-03-13 01:36:06 +02:00
hithereai 67c76fbac4 clean some code 2023-03-13 01:30:16 +02:00