Hypernetwork-MonkeyPatch-Extension icon indicating copy to clipboard operation
Hypernetwork-MonkeyPatch-Extension copied to clipboard

Loading training json file

Open bl4ckfyr3 opened this issue 3 years ago • 4 comments

"Load training option from saved json file. This will override settings above" button doesnt seem to do anything. Ive made a preset and I can see the saved json file, upon clicking the above mentioned option, nothing changes.

bl4ckfyr3 avatar Jan 19 '23 15:01 bl4ckfyr3

Its not button, so currently it only applies in real training (no ui change currently)

UI will be changed soon too.

aria1th avatar Jan 19 '23 16:01 aria1th

Unfortunately I cannot find proper way to update gradio component's value, so its not likely to be implemented.

But values are loaded from json and used, unless you see error, its just unfortunate visibility stuff...

I'll try to print modified values in additional text output instead.

aria1th avatar Jan 19 '23 18:01 aria1th

Even with these instructions, I have no idea how to get it to use the saved JSON file. 😅

Does it only work with hypernetworks? I noticed it saves the json file to the hypernetwork folder.

larssn avatar Feb 14 '23 19:02 larssn

Yes, currently it only works for hypernetwork. I think it should be implemented in original UI, for both textual inversion and hypernetwork... I'll do it when I have time

aria1th avatar Feb 15 '23 02:02 aria1th