lthero-big / A-watermark-for-Diffusion-Models

This is an unofficial implementation of the Paper by Kejiang Chen et.al. on Gaussian Shading: Provable Performance-Lossless Image Watermarking for Diffusion Models
GNU General Public License v3.0
27 stars 2 forks source link

The init_gs_Z_s_T() is not executed when running the SDwebui. #6

Open LeungChaos opened 2 months ago

LeungChaos commented 2 months ago

I have added the scripts into the webui scripts folder, and the option 'GS_watermark_insert' is available, but the terminal only prints "==run==", but it doesn't print any content in init_gs_Z_s_T(), and it doesn't generate info_data.txt.

屏幕截图 2024-07-09 122023
lthero-big commented 2 months ago

You should check the version of SDwebUI and put the right version of the script into the folder. Make sure there's only one script GS_watermark_insert_for_webui_v1.5.2_and_lower.py or GS_watermark_insert_for_webui_v1.6.0_and_higher.py in the scripts folder. For some high version of webui( v1.7.0 or higher) , I'm not sure if it works for these version.