MoonRide303 / Fooocus-MRE

Focus on prompting and generating
GNU General Public License v3.0
954 stars 56 forks source link

Topaz Gigapixels metadata #128

Closed barepixels closed 1 year ago

barepixels commented 1 year ago

Topaz Gigapixels output contains metadata which can be seen using XnView.
topaz

However, Fooocus-MRE is unable to load Prompt from such files. Can you look into it? Can you make Fooocus to use it to load prompt? If you don't want to it's OK.

MoonRide303 commented 1 year ago

Manually extracted prompt from image and saved as json file works fine:

{"prompt": "redhead", "negative_prompt": "[deformed | disfigured], poorly drawn, [bad : wrong] anatomy, [extra | missing | floating | disconnected] limb, (mutated hands and fingers), blurry", "styles": [], "real_prompt": ["redhead"], "real_negative_prompt": ["[deformed | disfigured], poorly drawn, [bad : wrong] anatomy, [extra | missing | floating | disconnected] limb, (mutated hands and fingers), blurry"], "seed": 693194942663826797, "width": 512, "height": 768, "sampler": "dpmpp_2m_sde_gpu", "scheduler": "karras", "performance": "Speed", "steps": 30, "switch": 20, "sharpness": 2, "cfg": 7, "base_clip_skip": -2, "refiner_clip_skip": -2, "base_model": "deliberate_v3.safetensors", "refiner_model": "None", "l1": "None", "w1": 1, "l2": "None", "w2": 0.5, "l3": "None", "w3": 0.5, "l4": "None", "w4": 0.5, "l5": "None", "w5": 0.5, "freeu": false, "img2img": false, "revision": false, "positive_prompt_strength": 1, "negative_prompt_strength": 1, "control_lora_canny": false, "control_lora_depth": false, "prompt_expansion": false, "software": "Fooocus 2.0.78.3 MRE"}

but attempts to load it from this Topaz-processed file for some reason fails. I need to look into this.

MoonRide303 commented 1 year ago

Fixed (commit 8640faa).

barepixels commented 1 year ago

Confirm fixed. Thank you so much.