Comments (6)
ah, i understand now.
its not that variation seed was locked, its just that seed was used to initialize random number generator before variation seed random pick happens, so it pretty much always picked the same random number.
fixed.
from automatic.
Reopen. I thought 7998f40 resolved but i did not have Initial seed set to fixed / reuse. Variation seed fixed / reuse bool is still linked to the initial seed fixed / reuse bool.
Sorry for the confusion
from automatic.
Video screen capture
https://github.com/vladmandic/automatic/assets/33190317/70b2a298-4bb0-465d-bff9-e4a466278f4b
from automatic.
i just noticed one other thing that variation seed was not correctly added to metadata, that is now fixed.
regarding your notes, i'm not sure what is the expected behavior?
maybe i'm wrong, but from what i can tell, both seed and variation seed random and reuse are now independent of each other and are working fine.
from automatic.
Which commit version and I will test.
Please correct me if i am wrong, the way I understand the "Variation Seed" is to add additional noise to the "Initial Seed". We use it to generate altered variations of a particular determined seed. As of right now (commit f55e14b) this is true but the Variation does not generate random numbers when the Initial Seed is locked to a determined seed value. I posted a video capture in my response above. What it shows is : https://github.com/vladmandic/automatic/assets/33190317/70b2a298-4bb0-465d-bff9-e4a466278f4b
Part 1 : Initial Seed and Variation Seed are set to random. I first show that the Variation Seed will generate a unique seed for every generation. I do this by applying the "Reuse Image" button to show the seed value.
Part 2 : Initial Seed is set to a fixed seed value, Variation Seed is set to random and the Variation Strength is increased to allow the variation to alter the initial image. What you will notice is that on the first image generation after the Initial Seed has been locked is that the Variation will generate a new seed value (thus a new image), however on further generations the Variation seed becomes stuck (?) and will not generate a new random seed value (thus the same image being generated) even though the Variation is set to be random. This prevents generating unique alterations of the initial seed. I show that the Variation seed is stuck by applying the "Reuse Image" button to show the seed value, then reset back to random, generate a new image, and repeat. You will notice that the Variation seed value and the image generated do not change.
For some reason you will get a new Variation seed value on the first image generation after the Initial Seed value has been locked but not after the first image generation. So if you are trying to run Variations of a particular seed you get one image generation then it gets stuck.
Example:
- Lets use 12345 for the initial seed value.
- Variation Seed = Random and Variation Strength is increased. We expect to get a new random number for every generation and with it a altered image generated.
- After the first image generation we get a new Variation Seed 67890 and in return we get a altered generated image.
Rendering a new image again we would expect a different alteration of the image as we would expect a different Variation seed value.
Instead we get the exact same image because the Variation seed value never changes. It stays 67890 even though it is set to be a new random value.
Again Variation Seed random generation only gets stuck when the Initial seed is locked to a determined seed. I suspect somehow that the Variation Seed is referencing some value of the Initial Seed. I would think based on the behavior that Variation Random state is accidently assigned the Initial Seed Random (bool), flag, true/false state instead of it's own (bool) variable
Of course we can simply type random numbers into the Variation Seed field and get the desired outcome of generating a unique alteration of the initial image but having to manually type numbers in defeats the purpose of having a random number generator.
from automatic.
YES!! I can confirm that it is working as expected. Thank you! You and your git team are awesome!
from automatic.
Related Issues (20)
- [Issue]: FaceID in txt2img input prompt ignore partially? HOT 1
- [Issue]: running SD3 HOT 13
- [Issue]: API IP Adapter start value error HOT 1
- [Extension]: ADetailer not being "enabled" via UI HOT 2
- [Issue]: Control endpoint ignores init images. HOT 1
- [Issue]: Pydantic error on Apple M1 HOT 4
- [Feature]: Add the ability to select Extra Networks (loras at this point) to xyz script HOT 5
- [Feature]: Option to Force GC after every operation. HOT 6
- [Issue]: SDXL model swapping freezes the computer (ROCm on AMD RX 7900 XTX) HOT 3
- [Issue]: When using PAG, after running ADetailer the wrong pipeline is restored HOT 1
- [Feature]: Enhance inpaint with full noise when desired HOT 9
- [Issue]: Wrong order in pipeline restore after ADetailer breaks extension with batch counts > 1 HOT 1
- [Issue]: Setting VAE to None doesn't unload VAE in memory. HOT 1
- Verifying submodules output is confusing HOT 5
- [Feature]: --update as alias for --upgrade HOT 1
- [Issue]: Process tab: image drop with no metadata throws a long error message HOT 2
- [Issue]: SD3 fails with `ValueError: too many values to unpack` HOT 11
- [Feature]: Adds the identification of model subdirectories HOT 3
- [Feature]: Why not add more examples? HOT 1
- [Issue]: AMD GPU (RX 7900 XT) on Ubuntu 22.04 not used HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from automatic.