Closed ObsisMc closed 4 months ago
Thank you for your attention. Here, the reason for '-similarity_array' is because at line 142, we also used '-float(similarity_array[tokens[0][index]])'. Removing the '-' in both places would also work perfectly.
Thanks a lot.
Why does it return a
-similarity_array
rather thansimilarity_array
? https://github.com/THU-BPM/Robust_Watermark/blob/a076d2672a8cc332d6f45f51aa901066af176582/watermark.py#L145-L150