dustysys / ddetailer

340 stars 74 forks source link

Performance improvement by caching the model #24

Open dsxailab opened 1 year ago

dsxailab commented 1 year ago

Cache the model instead of load it every time.

It works fine for me though I don't fully understand the code and my changes.

dsxailab commented 1 year ago

Hi @dsxailab when using ddetailer together with highres fix, exif information will be corrupted because of the same "Denoising strength" parameter in ddetailer and highres fix, so information of other extensions eg Dynamic Thresholding will not show information about generation parameters png file , i want to know how to fix this error

is it anything to do with my pull request? if not, you should submit a new issue.

dsxailab commented 1 year ago

@yesyeahvh123 I'm also new to it, I had a look of your issue but unfortunately I have no idea.