hithereai
490d30b093
fix commas and whitespaces for frame interpolation of pics
2023-03-19 21:46:15 +02:00
hithereai
938723913a
replace commas and whitespaces with underscore
2023-03-19 21:25:33 +02:00
hithereai
97bf99d763
Merge remote-tracking branch 'upstream/automatic1111-webui' into dynamic_batch-folder_name
2023-03-19 21:22:36 +02:00
kabachuha
03723e6acf
fixup for variable scope
2023-03-19 22:20:59 +03:00
kabachuha
d866772ad8
wrap generate with vae failure checks
2023-03-19 22:13:49 +03:00
kabachuha
38d37a7240
move bfr to more correct place
2023-03-19 21:43:45 +03:00
kabachuha
891e7c69d3
add garbage collector runs after var deletions
2023-03-19 21:21:53 +03:00
kabachuha
d60f3c3c3b
Merge pull request #474 from reallybigname/automatic1111-webui
...
Added Optical flow redo generation
2023-03-19 21:16:08 +03:00
reallybigname
c6b8779d4a
Added optical flow cadence method selection
...
- Uses the same variable, optical_flow_cadence but now uses "None" for disabled and has the three optical flow methods.
- Improved reporting of cadence frames to include optical flow cadence type if one is selected
2023-03-18 19:52:51 -07:00
hithereai
370e66e564
reorder and tiny bugfix
2023-03-19 03:07:08 +02:00
hithereai
525b9f0813
bugfix for midas > 1
2023-03-19 03:00:15 +02:00
hithereai
94a1905a7c
fix auto-hide if in medvram or lowvram
2023-03-19 02:05:22 +02:00
hithereai
68d618e395
READY?!
2023-03-19 01:58:23 +02:00
hithereai
f7ea36adc7
save --> keep name chane
2023-03-19 01:52:22 +02:00
hithereai
3f92d0a086
move keep 3d models in vram to webui's settings-->Deforum tab
...
Not complete yet
2023-03-19 01:51:00 +02:00
hithereai
dc42df0683
update ui text
2023-03-18 21:18:16 +02:00
hithereai
799ebb2db7
auto-hide when webui launched with med or lowvram modes
2023-03-18 21:16:30 +02:00
hithereai
3cf1570656
bugfix
2023-03-18 21:03:30 +02:00
hithereai
d34a6f1432
add option to keep 3d models in vram between runs
2023-03-18 20:53:00 +02:00
reallybigname
4a6315060a
Removed test code.. whoops.
...
Sorry, I'm tired... I had added this to test something and forgot to remove, and didn't notice I commited it.
2023-03-17 12:46:36 -07:00
reallybigname
c3c2a4c9ad
Fixed one-off error in Redo
...
My most embarrassing commit.. I tested a bunch of different numbers of redos... except for 1... which caused an error and made me realize I had a one off problem... Tested 0, 1, 2, 3... working properly now. 1 redo yields 2 generations... as it should.
2023-03-17 12:38:47 -07:00
reallybigname
165a479519
made diffusion redo only color match on last one out
...
After testing it became obvious that part of the magic of the redo was letting the colors drift during redo... so, I just color matched on the way out, and it maintains it's cool factor, while maintaining colors!
2023-03-17 10:21:44 -07:00
reallybigname
94d21c95b7
fixed colors drifting during redo and optical flow redo
...
I just forgot that color would drift during repeated generations. Fixed. Now it's really consistent... and redo is incredible.
2023-03-17 09:34:46 -07:00
reallybigname
096eec4ff0
Merge branch 'automatic1111-webui' of https://github.com/reallybigname/deforum-for-automatic1111-webui into automatic1111-webui
2023-03-17 08:48:57 -07:00
reallybigname
0c1440b80b
Added Diffusion Redo feature
...
Added slider for diffusion redo.
- llterally does a diffusion multiple extra times, feeding it back into itself. It is suggested to turn steps down if you turn redo up.
- while redoing, seed is randomized and restored
- fixed Optical Flow Redo so that it also randomizes and restores the seed, making it less muddy.
2023-03-17 08:48:55 -07:00
hithereai
70dc0b2f6b
Merge remote-tracking branch 'upstream/automatic1111-webui' into pr/474
2023-03-17 15:51:32 +02:00
hithereai
4c300276b5
Merge remote-tracking branch 'upstream/automatic1111-webui' into dynamic_batch-folder_name
2023-03-17 15:51:24 +02:00
hithereai
68017c90bc
fix invert image order too
2023-03-17 15:47:52 +02:00
hithereai
3743c23ff1
Merge remote-tracking branch 'upstream/automatic1111-webui' into pr/474
2023-03-17 14:48:30 +02:00
hithereai
e14b38e2b0
set default batch name to Deforum_{timestring}
2023-03-17 14:17:56 +02:00
hithereai
413f115554
FINAL
2023-03-17 14:17:00 +02:00
Jason Burbage
c1a45ddfad
fix: CN script_args order
2023-03-18 01:15:51 +13:00
reallybigname
649472d200
Fixed mistake
...
accidentally removed this crucial division! all better
2023-03-16 23:56:20 -07:00
reallybigname
e1ddff8747
Hybrid Video Update
...
- Adds DIS Fine mode, and sets it as the new default
- Optical flow cadence and optical flow redo generation will now use DIS Fine, for pixel accuracy
- Adds flow guidance to hybrid flow. No setting needed, it just happens automatically, assisting the flow calculation by feeding in the last flow.
- Adds flow_factor_schedule for hybrid flow
- reduced some code for bordermode by setting a variable for the cv2 border mode translated from the user setting
2023-03-16 23:32:15 -07:00
hithereai
10d0b79e50
fix prompt handling
2023-03-17 03:23:40 +02:00
hithereai
f0f93b68b1
remove duplicated import
2023-03-17 02:17:36 +02:00
hithereai
33b67a519a
much better manual-stitch frames to video
2023-03-17 02:16:59 +02:00
hithereai
150059192a
load/save setting jsons as UTF-8 encoding
2023-03-16 23:42:04 +02:00
hithereai
6b2bd26131
Add dynamic batch/folder name
2023-03-16 23:25:55 +02:00
reallybigname
3d008badbd
Fixed PIL version conflict
...
- replaced Image,Resampling.LANCZOS with PIL.Image.LANCZOS
- had to add import PIL
- had heard of people on colab encountering this issue. Should fix both hybrid video and image/video color matching.
- tested, works fine locally, so I see no reason not to change
2023-03-16 04:45:39 -07:00
reallybigname
55aebfd032
prevent color match on strength 0 if using Video or Image color coherence
...
Follow up to strength 0 color match reset... prevents color match sample being replaced when strength goes to 0 if using color coherence Video or color coherence Image.
2023-03-16 02:40:07 -07:00
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
hithereai
150e6a4434
Merge branch 'automatic1111-webui' of https://github.com/reallybigname/deforum-for-automatic1111-webui into pr/452
2023-03-13 01:22:10 +02:00
hithereai
5d31dda542
png to jpg typo fix
2023-03-13 01:18:41 +02:00
hithereai
a83626bfe1
guided imgs urls now from official deforum website
2023-03-13 01:16:27 +02:00
reallybigname
a3ed3a2a5b
Disabled optical flow cadence in 2D mode
...
I'll have to do some more work to track down a method to warp the flow properly in 2D mode. For now, optical flow cadence is a 3D only thing.
Made it say Optical flow cadence (3D only)
Made it hidden by default
Made it show when you switch to 3D mode
Made it not do the routines on the back end if not in 3D mode
2023-03-12 15:44:48 -07:00
hithereai
39d1b524a3
anti blur amount from 0.35 to 0.1
2023-03-13 00:30:55 +02:00
hithereai
e7022770d8
noise_multiplier_schedule default from 1 to 1.05
2023-03-13 00:30:28 +02:00
hithereai
b00d70691d
enable_noise_multiplier_scheduling = True from False
2023-03-13 00:11:51 +02:00
hithereai
791cb46e34
clean some more
2023-03-13 00:07:40 +02:00
hithereai
8415fa103a
clean
2023-03-13 00:06:48 +02:00
hithereai
3dd0af8b1b
clean
2023-03-13 00:05:02 +02:00
hithereai
fa06205e73
hide entire content of noise tab when switching to interp anim mode
...
as it only does txt2img those params are doing abs nothing.
2023-03-13 00:04:01 +02:00
hithereai
ac8306c7c0
auto-hide noise_multp_sch when switching to Interp anim mode
2023-03-12 23:58:10 +02:00
hithereai
04537641de
auto disable "with img2img do exactly x steps" from general settings
2023-03-12 23:50:37 +02:00
hithereai
a3b1864d18
move anti blur amount to top of its section
2023-03-12 23:35:57 +02:00
hithereai
368e471dd8
clean code
2023-03-12 23:35:04 +02:00
hithereai
71e38815c6
add noise_multiplier scheduling
2023-03-12 23:29:37 +02:00
hithereai
6cb40bd43e
move clip skip sch under cfg tab
2023-03-12 23:00:42 +02:00
kabachuha
d8751fb3f2
Merge branch 'automatic1111-webui' into cn-attempt-3
2023-03-12 20:42:05 +03:00
kabachuha
6f0d30c44c
Merge pull request #442 from deforum-art/main-mask
...
Use only one mask preset in mask composition, fix video masks not moving
2023-03-12 20:22:21 +03:00
kabachuha
466e64a714
fixup controlnet settings saving
2023-03-12 20:05:41 +03:00
kabachuha
652bda9e61
drop the last frame if using video mask
2023-03-12 19:13:29 +03:00
kabachuha
f96c2d823e
drop the last frame if using video mask
2023-03-12 19:11:25 +03:00
kabachuha
60b186e664
Merge branch 'main-mask' of https://github.com/deforum-art/deforum-for-automatic1111-webui into main-mask
2023-03-11 23:28:08 +03:00
kabachuha
caeb0204f4
fix masks not moving
2023-03-11 23:27:59 +03:00
hithereai
52500d0a0f
Merge remote-tracking branch 'upstream/automatic1111-webui' into main-mask
2023-03-11 22:24:39 +02:00
kabachuha
67351f8a45
pass script args
2023-03-11 20:01:06 +03:00
kabachuha
39ef3537fd
guess mode to false by default
2023-03-11 19:44:45 +03:00
kabachuha
8651591e7f
improvement
2023-03-11 19:42:19 +03:00
kabachuha
370ef15cab
shorten cli model name output
2023-03-11 19:41:55 +03:00
hithereai
58c7889eda
easier load_args function, and shorter too
2023-03-11 18:26:58 +02:00
kabachuha
d4438b56c7
fixup duplicated arg
2023-03-11 19:22:25 +03:00
kabachuha
4fd4f42a32
fixup missed scripts argument
2023-03-11 19:22:11 +03:00
kabachuha
fab84e4b70
fixup empty cn mask
2023-03-11 18:49:39 +03:00
kabachuha
943023ce51
fixup
2023-03-11 18:43:42 +03:00
kabachuha
eabfd505da
check for CN dynamically
2023-03-11 18:43:09 +03:00
kabachuha
12ad8a7866
note to upgrade CN if you downgraded it for Dfm
2023-03-11 17:59:04 +03:00
kabachuha
f2092f0695
add note about the fixed steps option
2023-03-11 17:05:08 +03:00
kabachuha
3d2116129b
make all cn settings interactive
2023-03-11 16:56:33 +03:00
kabachuha
0f0674a732
use cn api in processing
2023-03-11 16:52:40 +03:00
kabachuha
b8fe729fae
fixup ui loading
2023-03-11 15:44:40 +03:00
kabachuha
4c5a7a910d
add cn import failure patience
2023-03-11 15:44:19 +03:00
kabachuha
12d04a68c0
return cn's ui
2023-03-11 15:34:41 +03:00
kabachuha
d7c9c24eb0
Merge pull request #453 from hithereai/cn_api_based_v1
...
CN attempt 3 — temp branch
2023-03-11 13:57:19 +03:00
kabachuha
ab8650a32c
Merge pull request #447 from deforum-art/mps-depth-fix
...
Half depth samples on mps
2023-03-11 13:52:16 +03:00
hithereai
1d8c466900
Merge remote-tracking branch 'upstream/automatic1111-webui' into pr/452
2023-03-11 11:07:11 +02:00
reallybigname
651ddb9358
Improvement to optical flow cadence
...
slight changes, big improvement
2023-03-11 00:54:52 -08:00
hithereai
8b54a383e5
save deforum git commit id to setting files
2023-03-11 02:22:32 +02:00
hithereai
8ca4daa913
Merge remote-tracking branch 'upstream/automatic1111-webui' into main-mask
2023-03-11 01:10:58 +02:00
hithereai
a863a85699
1
2023-03-11 00:37:30 +02:00
hithereai
11a8797f92
new video init vid and related video mask
2023-03-11 00:01:28 +02:00
hithereai
adde273e67
urls now on official deforum website
2023-03-10 23:42:09 +02:00
hithereai
8e0d45cd5a
gr.Tab to gr.Tabs with gr.TabItem(s)
2023-03-10 19:51:49 +02:00
hithereai
a81296d64c
more compact vertical ui in keyframes tab
2023-03-10 19:37:58 +02:00
hithereai
6b28bfc65b
Merge remote-tracking branch 'upstream/automatic1111-webui' into main-mask
2023-03-10 19:07:54 +02:00
hithereai
e82b8deb30
Merge remote-tracking branch 'upstream/automatic1111-webui' into mps-depth-fix
2023-03-10 19:07:45 +02:00
hithereai
94b85b97fb
no more printing of control net import ok/error
2023-03-10 19:06:26 +02:00
kabachuha
df262e4dc5
half depth samples on mps
...
should fix #394
2023-03-10 16:14:06 +03:00
hithereai
056dc5cb11
don't import ffmpeg location from sett files
2023-03-10 13:39:23 +02:00
hithereai
92827a64be
move optical cadence to Coherence tab
2023-03-10 11:37:53 +02:00