FreeU Random or Sequence Move for Animation #1871
Replies: 9 comments 8 replies
-
Interesting idea. |
Beta Was this translation helpful? Give feedback.
-
Oh, ok 👍 i will try this.. thanks.. |
Beta Was this translation helpful? Give feedback.
-
Ok i've changed the line "mask[..., crow - threshold:crow + threshold, ccol - threshold:ccl + threshold] = scale" to "mask[..., crow - threshold:crow + threshold, ccol - threshold:ccol + threshold] = scale" -> working.. (somehow) BUT i've a new problem or find a bug. i tried to use it i first noticeing that the results are terrible against manually set changes to S1 / S2. I first did not understand why it is always generating stupid crap; But there seams to be a different "bug" or "problem" ... if i enable the buildin freeU extension (with or without my new modifications): if i set the seed to a fixed value for ex. 1687053679 in a batch of 50 each new generated image also seams to add a seed=seed+1 to the fixed seed - any ideas where / why ?! i mean it is not usual for someone to generate a single same looking image 50 times (by using the same seed) but for this extension it is required... i mean i can fix it in the extension by adding just "-1" to each new generating but that whould be a stupid dirty workaround for a bug somewhere else, its makeing more sense for me to find a solution for the increasing seed problem. Test Output: |
Beta Was this translation helpful? Give feedback.
-
So far the only working solution seems to use something like this First result by using the "random unet move" option (its a little bit unstable because plain randomly changes the unet move without a stepping sequence like s1+0.01/s1+0.01/s1+0.01/s2-0.01/s1+0.01/s1+0.01/s1+0.01/s2-0.01/s1+0.01/s1+0.01/s1+0.01/s2-0.01/.. result in something like this).. Thanks to Haoming02 for the tip using the x/y/z script in #1910 |
Beta Was this translation helpful? Give feedback.
-
this seems like a case for 'Generate Forever', right-click the Generate button. Pick a seed (not -1), batch 1 only, no script needed, Forge browser tab needs to stay active. If you haven't already, you could also try smaller adjustments, maybe with more choices. Something like |
Beta Was this translation helpful? Give feedback.
-
here is the code for the \webui\extensions-builtin\sd_forge_freeu\scripts replacement of forge_freeu.py to add this:
|
Beta Was this translation helpful? Give feedback.
-
can i add this as a "new" extension even if most of the original code is from the original "build-in" extension of forge_freeu.py or what should i do with the code ? |
Beta Was this translation helpful? Give feedback.
-
btw. i've created another script to make a smoother transition between the "keyframes" its working fine so far but the mp4 output is broken, needs some more work i think 😎 |
Beta Was this translation helpful? Give feedback.
-
finaly its here https://github.com/zeittresor/sd-forge-fum thanks everybody for the tips 🥇 |
Beta Was this translation helpful? Give feedback.
-
Hello, i had the idea to add a random move option to the BuildIn Extension FreeU.
(The script is not working correct in current state !)
The Idea is to change the value of the S1 and S2 Sliders randomly with +0.01 or -0.01 to the last S1 or S2 value - each time a Image in a Batch was generated. This make only sense if you have selected a static seed because the only thing what should change is "something in the Image itself".
This way every image is looking a little bit different "somehow like a morph". Adding all the Images using FFMPEG for example creates a nice effect (i have tried this manually but might be much more comfortable to have a checkbox to change the value automaticly).
Example:
My current Extension Ui:
My skills in python are currently not the best to get it working.. my personal current modified version of the FreeU Extension shows the checkbox but comes up with a lot of errors.. how ever if someone like the Idea please please try to help:
Beta Was this translation helpful? Give feedback.
All reactions