Commit Graph

1561 Commits (c73dcf58daf2d19e592e2d083ccf71a6fc8a7683)

Author SHA1 Message Date
kabachuha b5055fe7d0 fix frame_idx not being passed into prepare_prompt
Pointed out in https://github.com/deforum-art/sd-webui-deforum/pull/610

Co-Authored-By: ali42 <7451075+ali42@users.noreply.github.com>
2023-05-06 15:34:30 +03:00
hithereai 5d346c259a Merge remote-tracking branch 'upstream/automatic1111-webui' into tests0505 2023-05-05 19:28:39 +03:00
hithereai 24afbf815a fix saving setting file with quotes around it (as loading already works) 2023-05-05 16:50:43 +03:00
hithereai e3eba88c12 support quotes around file name in load setting file box 2023-05-05 16:31:46 +03:00
hithereai 707e628df4 final py3d fix 2023-05-05 13:30:30 +03:00
hithereai 589719e5cb fix clipseg import, all should work now 2023-05-05 13:27:51 +03:00
hithereai 17d222ee4c fix py3d import error (more commits to come) 2023-05-05 13:18:36 +03:00
hithereai 852ed27753 print depth tensor min max in dev mode 2023-05-05 03:28:41 +03:00
hithereai 879a7b8433 Merge remote-tracking branch 'upstream/automatic1111-webui' into pr/664 2023-05-04 23:23:53 +03:00
hithereai 39a40e915f temporarily remove midas3.1beitlarge
since it causes some problems with extreme 3d movement and depth prediction. will return when it's fixed
2023-05-04 23:20:56 +03:00
reallybigname 03f54a3768 FIXED optical flow cadence
Properly normalized the optical flow field before warping and after warping based on width and height.  Now, because the range of the values are between -1 and 1 (usually much smaller), the flow doesn't get corrupted by the grid_sample for 3D or the warpPerspective for 2D anymore. So, I was able to remove all workarounds and just fix the abs to rel and rel to abs functions.
2023-05-04 12:37:34 -07:00
hithereai eeb3003112 Merge remote-tracking branch 'upstream/automatic1111-webui' into DepthV2Tests 2023-05-04 13:16:38 +03:00
hithereai 92985dc197 clean up 2023-05-04 13:12:35 +03:00
hithereai 39ed1512ee feature: add controlnet guidance start/ end schedules 2023-05-04 03:50:03 +03:00
hithereai 44076c6c2d bugfix 2023-05-04 00:59:27 +03:00
hithereai ad048ff0f3 Add CN sch for guidance start/end - initial commit untested 2023-05-04 00:57:43 +03:00
hithereai 44d5cafe55 fix model reload after keep in vram set to false (but the model is still in vram) 2023-05-04 00:50:02 +03:00
hithereai 95919a5fac update default depth alg in depth.py, had old value in there 2023-05-03 23:58:58 +03:00
hithereai c4d69cc13e set default 3d depth alg to 'Midas-3-Hybrid' 2023-05-03 23:33:16 +03:00
hithereai fb2a97057e shorten and align params order in depth.initialize func 2023-05-03 23:31:30 +03:00
hithereai 901ff15488 print depth normalization data to cli only in Dev mode 2023-05-03 23:17:24 +03:00
hithereai eb71241d72 split depth initialize two 2 funcs + better leres cli print 2023-05-03 22:57:10 +03:00
hithereai 4b9548fc68 bump version+
and credits in info accord
2023-05-03 21:42:33 +03:00
hithereai a1de5338bb add dynamic msg to gradio ui about leres license 2023-05-03 19:11:11 +03:00
hithereai 530bb80224 update that cli msg again 2023-05-03 18:49:49 +03:00
hithereai 096729cbea update adabins error cli msg 2023-05-03 18:49:19 +03:00
hithereai 692aac9ee6 auto-hide midas/zoe weight param when not in legacy 3d mode(l) 2023-05-03 15:58:46 +03:00
hithereai a3c48cabad add missing import 2023-05-03 15:54:19 +03:00
hithereai b8e78908f8 rename legacy modes to have an (old) at their end 2023-05-03 15:30:41 +03:00
hithereai e4943b1a51 add comment on midas models in anim.py 2023-05-03 14:31:12 +03:00
reallybigname 26ea16b0ce updated transform_image_3d_new
removed excess options, removed dev code, cleaned up code, ready for production.
- removed depth tensor autocontrast options
- made equalization a part of the normalization process (not an optional arg now)
- removed my mechanism for 0-based normalization. Decided it wasn't any better. Maybe worse... mostly similar.
- cracked open a bottle of champagne on this function's hull

also added a file for the first steps of making an auto-navigation module to be used in the future inside the transform_image_3d function!  It generates a rotation matrix based on greatest or least depth in the tensor, instead of using animation keys.
2023-05-03 04:15:54 -07:00
hithereai 772d4392d1 Merge remote-tracking branch 'upstream/automatic1111-webui' into DepthV2Tests 2023-05-03 14:14:06 +03:00
hithereai 2091e239b0 feature: control net scheduling of weights 2023-05-03 13:30:12 +03:00
hithereai b6c631e6c7 add legacy zoe+adabins mode 2023-05-03 06:53:08 +03:00
hithereai 9279d8c0f6 print to cli what midas model was actually loaded 2023-05-03 03:49:03 +03:00
hithereai 95ac505f02 add midas beit large 3.1 version too 2023-05-03 03:46:12 +03:00
hithereai 2b81316a10 Depth V2 - RBN changes included 2023-05-03 02:38:24 +03:00
hithereai ed35a9c946 tidying up - deduplicate some download-model code 2023-05-02 19:43:36 +03:00
hithereai 6a00408535 remove old adabins code and logic 2023-05-02 19:14:37 +03:00
hithereai 24c5b79abe Merge remote-tracking branch 'upstream/automatic1111-webui' into Depth-Revise-V1 2023-05-02 18:29:36 +03:00
hithereai 87f78d54bd tiny CN changes to align with their latest changes 2023-05-02 18:28:43 +03:00
hithereai 28969fa4ce add auto-download of the LeRes model (for future use) 2023-05-02 18:12:20 +03:00
hithereai d38260b13f add future medvram support to LeRes depth 2023-05-02 12:00:39 +03:00
hithereai 33e37a3591 more cleaning 2023-05-02 11:52:08 +03:00
hithereai 0348eb683c some cleanups 2023-05-02 11:45:52 +03:00
hithereai 876e594068 reflect change of use_zoe_depth --> depth_algorithm in deprc utils 2023-05-02 11:42:21 +03:00
hithereai 8bb3a1b7d4 cleanup of not-needed code 2023-05-02 11:06:40 +03:00
hithereai 3f0d474b28 return kabas changes to prompt and fixed seed 2023-05-02 10:44:21 +03:00
hithereai cbdfa5dc3c Depth Revise Part 1 2023-05-02 04:51:25 +03:00
kabachuha 4b51be881c add nsfw, nude to default negative prompts 2023-05-01 17:34:36 +03:00
hithereai 59b8f0da03
Update consistency_check.py 2023-05-01 03:12:44 +03:00
hithereai 6dd1adc3e4 add comment about usage 2023-05-01 03:03:45 +03:00
hithereai 40d26a9705 remove commented code as it can be found in the link inside the file 2023-05-01 03:02:48 +03:00
hithereai 0e9176f0c1 take gradio's ui arg values from da. instead of setting them manually 2023-04-30 21:29:25 +03:00
hithereai f976c8d2fd reorder imports at hybrid_video.py 2023-04-30 21:26:56 +03:00
hithereai dde01b3915 remove commented unused imports from render.py 2023-04-30 21:24:49 +03:00
hithereai 7041917c2e deduplicate - use a loop gor gradio.change stuff 2023-04-30 21:19:22 +03:00
reallybigname eec4c7a348 quick fix for progress bar during cadence
makes progress advance smoothly during cadence rather than skipping ahead suddenly after cadence completes

left line commented for state.current_image, since I'm not sure what that variable actually does. It doesn't update the preview when I try it, even when turning up the speed of preview updates in auto1111.  But, if we decide to make a preview mechanism or need that state var for cadence, it can just be uncommented.  It matches the format of the one in the main non-cadence loop.
2023-04-29 23:31:19 -07:00
reallybigname 352a8fdb07 Consistency flow masks & fixed Frames to Video
added consistency flow masks
- there is now an option to use flow consistency masks and an attached option for consistency mask blur, defaulted to 2.
- if you save extra frames, it also save consistency masks now
- you can see the effect on the flow in the flow outputs as well
- it doesn't work as great with cadence because you see afterimages, but if you up the blur it can be a little better.

fixed Frames to Video
- made the ffmpeg routine that Frames to Video uses able to take image files other than png.  If png, it includes the -vcodec png as normal. But, if anything else it includes vcodec libx264, which works for jpgs. (jpgs don't work if using vcodec png, so I made it switchable). I haven't tested it with other filetypes, but I bet it works with others too. The png vcodec was specific to png.
- also added two more lines of instruction for how to use the file string.

- I also changed a few ransac functions for future use. They work as normal, but now have a switching behavior if passed depth. But, I'm not passing depth to them for now.
- a few minor code var name edits in hybrid video to align code better (mostly changed matrices to M, as is often convention

- commented a bunch of unused imports in render.py
  - I'll leave it up to someone else to delete them after it's verified that everything works fine with them commented.  I searched and didn't find them in that file. VSCode showed them as gray automatically, but I also verified.
2023-04-29 22:37:49 -07:00
hithereai 1cd38479b4 support input path strings with quotes around them
to support windows built-in "copy-path" option
2023-04-29 20:33:23 +03:00
hithereai 31aacf342d don't error when fps field is getting set to '' (nothing) 2023-04-29 19:55:27 +03:00
hithereai adcb61eff0 fix vid2frames not working with extract_nth_frame properly 2023-04-29 19:03:58 +03:00
hithereai 69b607e44a download adabins from github instead of g-drive 2023-04-29 09:52:37 +03:00
hithereai cf55274f33
Update depth.py add missing comma 2023-04-28 13:06:05 +03:00
hithereai e4c454e1e9 download adabins directly from google-drive 2023-04-28 12:58:13 +03:00
hithereai 92db5b0fd7 return mask to UI, but it's broken in CN side of things (probably) 2023-04-27 21:55:52 +03:00
hithereai 2fdaa80916 update cn related stuff 2023-04-26 14:43:14 +03:00
hithereai 85d247af11 use better resnet50 model in human masking 2023-04-25 23:46:22 +03:00
hithereai 2808dc9dab replace CN's old guess mode with new control mode 2023-04-25 18:38:11 +03:00
reallybigname 2826e6d476 removed extra generation after generation for Image and Video Input
It wasn't working anyway, so I removed that mechanism and restored it to the previous behavior of just color matching after generation when using Image of Video Input.

Also cleaned up some code and added console reporting about Redo cycles.
2023-04-24 13:37:10 -07:00
reallybigname 5f3c4ac82e consolidated prompt code
saw an easy area where I could get some prompt code out of render_animation and into prompt.py
2023-04-24 11:57:40 -07:00
hithereai 58faa1d508 delete raft from deprecation utils 2023-04-22 19:35:33 +03:00
hithereai 94f0f08f47 revive missing raft and set to default too 2023-04-22 19:32:43 +03:00
hithereai c51e8e085a Merge remote-tracking branch 'upstream/automatic1111-webui' into pr/600 2023-04-22 19:30:46 +03:00
hithereai 303ed858f9 FIX RAFT THAT NEVER WORKED 2023-04-22 19:27:45 +03:00
reallybigname 96e374844e Updates to Hybrid Video & More + Temporary Removal of RAFT
Discovered that RAFT wasn't actually working due to an issue with the function that got the flows.  There was a missing "elif".  So, the RAFT flow would get calculated and stored in the variable 'r', but then 'r' would always be overwritten by the default Farneback at the end.  We were fooling ourselves into thinking that was RAFT, when in actuality the RAFT flow is invalid and causes an error if actually used.
  - Changed function call for flow methods so that this can never happen. Now, each case returns directly.
  - Added to deprecation utils for now. We can remove the RAFT to Farneback conversion when we get RAFT working

Realignment of the way I handled frame indexes in motion routines to align everything more clearly

Major improvement to motion using prev_img during cadence!
  - added a prev_img during cadence so that there is a prev_img to refer to for the flow

Fixed color matching issue with first frame on Image and Video Init modes
  - first frame color match can't be done beforehand, so it's done afterwards. But, that normally makes for a very bad first frame. So, I added a redo for it to clean up the color matched image on first frame.

Major improvement to RANSAC
  - switched to use SIFT for feature matching instead of Lucas-Kanade
  - changed all border_mode to REFLECT_101, which matched how optical flow handled it, removed all the excess silly border_mode translations. This works much better.
2023-04-22 06:22:15 -07:00
hithereai 18c5c5aab7 set raft quality default to 50 instead of 12, fix optical flow cadence always being Farnback 2023-04-21 22:32:27 +03:00
hithereai febecd5d62 Update deforum_controlnet.py 2023-04-21 17:48:04 +03:00
hithereai a8f4d1eeb8 Update deforum_controlnet.py 2023-04-21 17:47:42 +03:00
hithereai 1c30a5f4a0 p1 initial 2023-04-21 14:13:20 +03:00
hithereai 96ed4d14d3 allow controlnet to work from extensions-builtin folder 2023-04-21 01:02:54 +03:00
hithereai 2fd9a200f1 fix zoe stucking, initial, speed isn't aligned with midas yet 2023-04-21 00:33:41 +03:00
hithereai 193d75c743 fix histogram_matching error on scikit-image >=0.20 2023-04-20 23:39:24 +03:00
hithereai 8cdb00b58f fix adabins not loaded without keep_in_vram=true 2023-04-20 21:55:29 +03:00
hithereai ac25036061 add controlnet's new pixel perfect button 2023-04-20 18:25:19 +03:00
hithereai 09af4c8ba5 remove empty line 2023-04-20 16:33:12 +03:00
hithereai fa580e849d better cli prints 2023-04-20 16:31:19 +03:00
hithereai 41b9e5220c fix 3d depth glitches 2023-04-20 16:28:52 +03:00
hithereai 3dfe73e4f0 try to align with recent CN updates 2023-04-18 15:53:06 +03:00
hithereai 929622e306
Merge pull request #584 from hithereai/raft_fix_1804
activate raft on redo_generation
2023-04-18 12:05:48 +03:00
hithereai 2d66ccbb85 Update render.py 2023-04-18 12:05:22 +03:00
hithereai 7a1bec43a5 activate raft on redo_generation 2023-04-18 12:04:38 +03:00
hithereai e4e84566d2
Merge pull request #583 from hithereai/raft_fix_1804
fix raft error
2023-04-18 11:39:45 +03:00
hithereai 599fef64f5 fix raft error 2023-04-18 11:39:23 +03:00
hithereai 00d20c6481 stop CN from re-extracting input vids frames with overwrite=False 2023-04-18 11:11:05 +03:00
hithereai 52903e8972 Update video_audio_utilities.py 2023-04-18 10:30:53 +03:00
hithereai 7acb6bf2b8 del comment 2023-04-18 10:29:14 +03:00
hithereai e0dd9806db minus one to thread count for frame extraction 2023-04-18 10:28:31 +03:00
hithereai f2f4389efb
Limit thread count in video extraction, p1 2023-04-18 10:06:01 +03:00
rewbs 20c4fac824 Parseq: when delegating seed control to Deforum, prevent "AttributeError: 'DeformAnimKeys' object has no attribute 'subseed_series'" 2023-04-18 14:18:24 +10:00
hithereai a0ad08df8a set RAFT to default hybrid optical flow method 2023-04-18 03:04:42 +03:00
hithereai 98b5319008 auto-hide optical flow cadence stuff if cadence = 1 2023-04-18 00:57:36 +03:00
hithereai 75a1074b66 extract videos much faster 2023-04-18 00:04:20 +03:00
hithereai 586e6d125d add a 5th control net unit, make it easier to add more in the future 2023-04-17 22:59:50 +03:00
hithereai 13b6acbdaf Add RAFT Optical Flow 2023-04-17 21:57:01 +03:00
hithereai f06e709e95 align with recent CN updates, add missing preprocs, update ui elements 2023-04-17 17:51:25 +03:00
hithereai 41dd8aa9db del visible=false as it's default 2023-04-16 20:40:33 +03:00
hithereai 85551b5094 Merge remote-tracking branch 'upstream/automatic1111-webui' into pr/568 2023-04-16 20:37:01 +03:00
hithereai df1e2d76ac align resize param names with new CN version 2023-04-16 20:15:55 +03:00
reallybigname 65f9c3bf19 Made Optical flow cadence work in 2D mode
I figured out a hack to make optical flow cadence work in 2D.  To do optical flow cadence, I have to warp the flow field.  But, the 2D animation warping function, usually used on images, would mess with the values of the flow (as if they were colors).  So, I scaled them down by 1000 going in and scale them back up doing out, and it eliminates the effect it had which would make the image wobble around.

The same scaling actually messes with 3D optical flow cadence, so I leave that working at the normal scale factor.

I also made one modification to 3D optical flow cadence where it temporarily changes the sampling mehod (used by 3d warping function) to 'nearest' just for the flow warping, then restores it to it's previous value. This should help to minimize any pixel effects from warping.
2023-04-15 17:12:41 -07:00
hithereai 4a12f1246b some code cleaning and deduplication 2023-04-15 17:17:16 +03:00
hithereai 633cd729fb Initial commit, add 4th cn model 2023-04-15 17:12:02 +03:00
hithereai 18ae62fbe2 fix 3rd model not working with drag-n-drop of video 2023-04-14 22:19:09 +03:00
hithereai dd57d06a29 Delete old midas folder 2023-04-14 21:48:08 +03:00
hithereai a34cbcf22e Multi-Control-Net 2023-04-14 21:47:56 +03:00
kabachuha 2f52de6bf6 fix zoe depth not launching in midvram mode 2023-04-14 17:57:24 +03:00
hithereai 5c544f952a fix depth errors 2023-04-14 12:06:11 +03:00
hithereai 55e0ceeb02 fix file name length to 09d instead of 07d 2023-04-14 09:14:22 +03:00
hithereai a23c452eb5 fix wrong ffmpeg args in vid2depth (still not working though) 2023-04-14 09:04:32 +03:00
hithereai 1c80ebb6c4
Merge pull request #555 from hithereai/ZoeFixes1304
initialize ZoeDepth with img size instead of fixed 384*512
2023-04-13 12:16:27 +03:00
hithereai 740f248ce6 initialize ZoeDepth with img size instead of fixes 384*512 2023-04-13 01:42:22 +03:00
reallybigname 8fce400b46 Changed tile size from 64 to 8
After thorough testing of generation directly, I verified that it can handle tile sizes of 8.  If this tile size is not met, animation does now work correctly because the images coming out of generation don't match the specified dimensions, making the prev_img wrong, which makes animation warping wrong.

Previous tile size of 64 was legacy, from notebook, and old auto1111 I believe. But, the pipeline can handle divisors of 8, verified. However, still not sure if the images produced are as good as when you use the 64 tile size, which is the size of the latent representation.

In any case, there was no limit on this before, and with these changes, it will assure that animation is always accurate.  Suggest leaving slider at increments of 64. But, now if they select a dimension manually, it will be properly forced to tile size of 8, to ensure proper sizing through the engine.
2023-04-11 23:19:27 -07:00
hithereai 997f129416 Merge remote-tracking branch 'upstream/automatic1111-webui' into pr/552 2023-04-11 23:57:23 +03:00
hithereai d5bd64c7de small fix for switching between models with keep in vram on 2023-04-11 23:54:30 +03:00
hithereai a55354dc12 add printing of loading of the models 2023-04-11 23:10:47 +03:00
hithereai 9165ef404a add debug mode IF to adabins loading 2023-04-11 23:03:42 +03:00
hithereai ab6805a555 add debug_mode IF to print 2023-04-11 22:39:07 +03:00
hithereai 381008e133 clean 2023-04-11 22:36:24 +03:00
hithereai c34fd6ae1a tiny fix 2023-04-11 22:34:31 +03:00
hithereai b987feb5d3 Introducing Zoe(Depth) 2023-04-11 22:31:19 +03:00
reallybigname e9610776ba Fixed W/H being overwritten with UI values 2023-04-11 12:12:03 -07:00
hithereai 2b5fbab902 remove old cn txt 2023-04-11 18:56:33 +03:00
hithereai b406184855 fix formatting of output vals in .srt file 2023-04-11 02:17:48 +03:00
hithereai 3cfa2c0744 add .srt subtitles generation info support 2023-04-11 00:42:39 +03:00
hithereai 2eb1deac29 use resume timestring in search and replace for batch name in case of resume is eneabled
so we can just click resume without changing a damn thing
2023-04-10 14:21:09 +03:00
reallybigname 91eae74432 Added support for overlay inverted mask 2023-04-09 12:00:36 -07:00
reallybigname 6ed59d8ad0 Merge branch 'automatic1111-webui' of https://github.com/reallybigname/deforum-for-automatic1111-webui into automatic1111-webui 2023-04-09 07:31:52 -07:00
reallybigname 6660cab053 made overlay masks with online images
now loads init_image and mask_file using load_image function

also fixed issue where you needed an init_image
  - passes image through if no init image
2023-04-09 07:31:49 -07:00
hithereai 3c6a76f106 Merge remote-tracking branch 'upstream/automatic1111-webui' into pr/546 2023-04-09 16:18:55 +03:00
reallybigname 227af72b02 Merge branch 'automatic1111-webui' of https://github.com/reallybigname/deforum-for-automatic1111-webui into automatic1111-webui 2023-04-09 03:50:20 -07:00
reallybigname b665c36b36 Made overlay_mask work
Overlay mask working properly with static mask or video mask.
- made new masks.py file that we can use to consolidate other mask functions from main render code
- Overlay mask NOW WORKS WITH CADENCE.  I made the function switchable between PIL rgb and np bgr and inject the function during cadence and for normal saves
- I didn't use old code. I just made this work myself.

Fixed one-off issue with hybrid video where the first frame was duplicated. (it became obvious when doing overlay video masking)

re-commented a few lines, removed some whitespace
2023-04-09 03:49:38 -07:00
kabachuha 90f3c12eef
add info on exposed variables in the Guided images mode
as it confused a person in https://www.reddit.com/r/StableDiffusion/comments/12e75zd/whats_the_max_f_in_the_deforum_guided_images/
2023-04-08 23:14:05 +03:00
hithereai 72184b3211 skip to next file in batch if a file couldn't be loaded p1 2023-04-08 18:48:35 +03:00
hithereai a26d022005 auto-update resume_timestring ui field 2023-04-08 17:22:27 +03:00
hithereai 0aa7c67cab add debug mode to resume.py 2023-04-08 12:22:15 +03:00
reallybigname 1e6eb6201b Removed extra color match code for resume
This was an afterthought, and after further testing, I don't think it's working quite right. I'm not sure why, but removing for now. Will re-examine later.

I accidentally had color matching against video on instead of LAB at first when I was testing, so I didn't see it.  Maybe I just need to convert to BGR?

Anyway, this restores the previous behavior of color matching, where if it resumes, it just matches against the prev_img.
2023-04-07 22:00:20 -07:00
reallybigname 35194fc2e6 Fixed resume
Now requires at least two actual frames to resume, but it works.
So,
at cadence 1, you need 2 frames
at cadence 3, you need 3 frames
at cadence 10, you need 10 frames
etc.

It gets the first and last frames, reads them, and feeds them to cadence cycle properly for turbo_prev_img AND turbo_next_img, then it recreates the last frame cycle.

It automatically accounts for cadence interruptions, like if you ran out of disk space during cadence or it got interrupted. (or you delete the last few frames or whatever)

Basically, I can't make it fail now, no matter how many times I resume, or how many random frames I delete going backwards before resuming.

Try it out!

I did consider saving out any frames that were recreated, but then realized that has it's own issues with possible duplicates as well, and after testing, I just don't think it's necessary either.  It works, every time, as far as I can tell.
2023-04-07 19:25:37 -07:00
hithereai 9e1a056ff0 clean 2023-04-07 19:51:52 +03:00
hithereai c7984f9811 save checkpoint info to setting files 2023-04-07 19:50:37 +03:00
hithereai f06d84bd60 finish add 2023-04-07 19:04:38 +03:00
hithereai fb4065a6cb add more 2023-04-07 19:00:18 +03:00
hithereai 251ccc6f9f add DEBUG_MODE 2023-04-07 18:57:48 +03:00
hithereai 0b308c610f add option to use old aspect ratio formula 2023-04-07 18:04:08 +03:00
hithereai ecea6f5774 better interpolation ui width separation 2023-04-07 16:46:21 +03:00
hithereai 1c4b609377 remove unused code 2023-04-07 15:41:10 +03:00
hithereai 1293a8f9b1 better ui text 2023-04-07 15:14:48 +03:00
hithereai 8a971d33b8 better ui text 2023-04-07 15:14:17 +03:00
hithereai a3c6fdfe0f add ui info for optical_flow_cadence 2023-04-07 15:13:16 +03:00
hithereai ed1ff82340 auto-hide Cadence flow factor schedule 2023-04-07 15:11:07 +03:00
hithereai a828c0c4b4 Merge remote-tracking branch 'upstream/automatic1111-webui' into pr/529 2023-04-07 15:05:46 +03:00
hithereai d86a602d1b fix neg and pos prompts in batch mode 2023-04-07 13:58:38 +03:00
hithereai 51f3ca1524 Merge remote-tracking branch 'upstream/automatic1111-webui' into pr/529 2023-04-07 07:51:20 +03:00
hithereai 83fc4a1159 add info to ui param 2023-04-07 05:01:44 +03:00
hithereai 5e3df5f7b4 better ui text 2023-04-07 04:57:53 +03:00
hithereai 9915d47c63 small fix 2023-04-07 04:36:27 +03:00
hithereai a68c6744b6 fix missing vid_args of load_args 2023-04-07 04:28:50 +03:00
hithereai 72d43f7750 bmode_p1 2023-04-07 04:22:46 +03:00
hithereai ab727f81c5 cleaning 2023-04-07 03:30:23 +03:00
hithereai 7a99e75d52 more ui changes 2023-04-07 03:27:02 +03:00
hithereai 196372804c tiny ui updates 2023-04-07 03:23:08 +03:00
reallybigname d9457fc442 Changed hybrid_use_init_image feature to work with online images 2023-04-06 09:31:23 -07:00
reallybigname 9828461001 Merge branch 'automatic1111-webui' of https://github.com/reallybigname/deforum-for-automatic1111-webui into automatic1111-webui 2023-04-06 09:15:23 -07:00
reallybigname 067b39b031 Made hybrid_use_init_image option override the args.use_init_image in args,py
This change prevents the args.init_image from being changes to None in args.py is hybrid_use_init_image is on.
2023-04-06 09:14:57 -07:00
hithereai a4e4e7ca22 add comments 2023-04-06 16:04:10 +03:00
hithereai 8eac754421 print to printf fix 2023-04-06 12:50:16 +03:00
hithereai a4fa0cff3f decapitalize a word in gr.info 2023-04-06 07:22:18 +03:00
hithereai c5982e6811 clean 2023-04-06 06:57:45 +03:00
hithereai 283690dc00 deduplicate gradio code 2023-04-06 06:57:19 +03:00
hithereai 09eb44e235 Merge branch 'fix_interp_ffmpeg' into pr/529 2023-04-06 06:49:07 +03:00
hithereai 2a65bda4f2 remove old commented line 2023-04-06 06:48:25 +03:00
hithereai 52576bdd36 more ui updates 2023-04-05 23:44:40 +03:00
hithereai 1dbb26fb1c ui updates 2023-04-05 22:57:54 +03:00
hithereai 9b670291af add deprecation updates 2023-04-05 22:33:31 +03:00
reallybigname bf536d87a0 Fixed accidental newb error is not 'None'
I was using: is not 'None'
instead of: != 'None'

Ugh...
2023-04-05 11:45:06 -07:00
reallybigname 69990993fe Hybrid Image, new flow factor schedules, optical flow guidance
new option to use init image as hybrid video
- you can use all normal compositing stuff with that mode.
- you can't use optical flow, because it's not a video - but - if there are already video frames in the directory, well - you should be able to still use flow and ransac modes, although I haven't tested that

changed Optical flow redo to a selection of optical flow type with None as default
- added Redo flow factor schedule
- made optical flow redo look nicer by warping the same image that it is using to compare to prev_img, then it goes in for final generation
changed Optical flow cadence to a selection of optical flow type with None as default
- added cadence flow factor schedule

Added flow guidance from last flow
- no UI change - it just works by default with hybrid motion optical flow types. It just uses the last flow as guidance, so it's a minor difference, but a little better temporal coherence on flow

changed hybrid composite to a selection with None as default
- now can set hybrid compositing to Normal (After Motion), Before Motion, or After Generation!
2023-04-05 11:01:54 -07:00
hithereai 7bbaa0c2a6 add comment 2023-04-05 17:54:57 +03:00
hithereai bae6792845 fix vid upscale output vid path 2023-04-05 17:53:52 +03:00
hithereai 4a710de5da change neg and pos prompt fields to use placeholders instead of gr.info 2023-04-05 14:05:07 +03:00
hithereai 9eb7629081 add safetensors example in ckpt schedule 2023-04-05 14:02:25 +03:00
hithereai d15f6269f0 add comment 2023-04-05 13:59:27 +03:00
hithereai fce0360f42 move ffmpeg settings to general webui's tab 2023-04-05 13:55:47 +03:00
hithereai 26b081c548 more info and fixed hints 2023-04-05 01:46:40 +03:00
hithereai 7d1ebd0a15 remove duplicated import 2023-04-05 01:22:05 +03:00
hithereai 63f08d0938 add pause/resume for interpolation mode as well 2023-04-04 22:08:39 +03:00
hithereai fd7a57c304 fix interrupt behavior - no longer yields errors 2023-04-04 21:55:12 +03:00
hithereai 8c9b4b08a3 stop/resume using Skip button 2023-04-04 20:28:15 +03:00
hithereai d48fb80b94 p 2023-04-01 01:20:19 +03:00
hithereai 1bfb46b47e p 2023-04-01 01:18:04 +03:00
hithereai 714e479be2 interpolation fixes and info addition p1 2023-03-31 19:14:38 +03:00
hithereai 766280e5d4
show_info_on_ui now True instead of False by default 2023-03-31 18:18:50 +03:00