Comments (5)
I think the text file is generated by my webui settings. Therein are the generation parameters (minus the seed only if it is -1). If the seed was to be -1 then it also does not appear in pnginfo.
Presently, I put an axis that has one option for seed=constant and another for seed=-1. Before generating a grid, I manually make a few grids to find a good seed. Then, in the infinity grid, I set the random seed as a super-axis. This is a quick and easy way to check if a bad result was the fault of an embedding or hypernetwork or if that result was actually fine on another seed. Of course, rather than mindlessly generating 2x or 5x as many images by specifying additional seeds, I can just set the embed or hypernetwork as an axis and scan the random seed section to see what else popped out. It is a bit strange but think of it as fuzzing a set of parameters to vaguely correct presumptuous assumptions of success or failure. I do this when I have super-huge grids, which admittedly is only one grid so far since they take a long time to generate when I'm trying to do this.
It is also a fun setting to get infinite random funny pictures.
from sd-infinity-grid-generator-script.
So as an initial reply to this issue and #14 as well:
- You're using the grid generator a bit outside the original intentions. Having randomness per-image is, well, the opposite of the intended idea of a pregenerated grid, wherein all values are consistent along a row other than one controlled variable.
- That said, it might be possible to expand the extension to support your case, it'll just take some active intentional development work to support this different usage.
- Generated seed should be in the pnginfo, if it's not that's a bug and will have to be fixed
- There isn't a text file stored alongside images. All generated text data is in one big json file and stores data per axis and per value entry within that axis - ie data unique to an individual image isn't stored except on the image itself. (And, unfortunately, for complicated unfortunate reasons, the webinterface actually doesn't have access to image metadata - refer to #6 for details on exploring that issue)
- It would be possible to dump extra files for that anyway as an optional feature if you want it I suppose
from sd-infinity-grid-generator-script.
I can see the value in these suggestions.
Being able to use traditional wildcards for prompts or random seeds for the first run could speed things up, but for the comparison capability to be any value you'd want to persist it from there by writing it back to the yml or to a sidecar file so its honored on future runs.
I guess the total randomness option could have its uses in generating a large set of random images to kind of stress test a model or find seeds to iterate further on but the grid loses a lot of utility when the correlation between the rows becomes meaningless. If mass random gens is the goal an adaptation to support this use in the grid generator would probably make your tool the best suited to do so against a variety of configuration parameters.
from sd-infinity-grid-generator-script.
I fixed the bug part of this, wherein seed was -1
in pnginfo - pnginfo now has the correct seed.
from sd-infinity-grid-generator-script.
I tried individual per-image metadata files in the grid tool for https://github.com/Stability-AI/StableSwarmUI and, while some of the issues mentioned before in the other thread remain present, it does work well, so I'll like port it back to here as an option.
from sd-infinity-grid-generator-script.
Related Issues (20)
- Custom Images Filename Name and Subdirectory?
- Prompt Replacement: Replace Entire comma'ed Phrase with ""--works in xyz plot! HOT 2
- img elements are missing dimensions
- Multiple styles in a single axis value doesn't work
- pyyaml-include HOT 7
- AttributeError: type object 'Constructor' has no attribute 'add_to_loader_class' HOT 7
- Error loading script: infinity_grid.py. An update to the issue. HOT 1
- UI broken after latest controlnet update HOT 2
- ADetailer? HOT 1
- Error using Symlink for Output file: {"detail":"File not allowed: E:/studio Dropbox/studio/ai... HOT 3
- Long Prompts: A way to store and call on them avoiding the temporary nature of the prompt field in Infinity Grid HOT 3
- easy way to iterate axis: Model by replacing the "steps" incrementally HOT 2
- Request for Adetailer support HOT 1
- Feature request: support batch count, output image in ui, switch weight/height in one axis HOT 1
- Add support for setting the 'scheduler' type needed for webui 1.9
- Access Page without Automatic1111 HOT 1
- variables for output folder name HOT 4
- how to set filename
- Search replace question HOT 12
- javascript required HOT 1
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 sd-infinity-grid-generator-script.