Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

extract ERROR #129

Open
GiantKs opened this issue Dec 20, 2023 · 2 comments
Open

extract ERROR #129

GiantKs opened this issue Dec 20, 2023 · 2 comments

Comments

@GiantKs
Copy link

GiantKs commented Dec 20, 2023

wm = bytes.fromhex(hex(int(byte, base=2))[2:]).decode('utf-8', errors='replace') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ValueError: non-hexadecimal number found in fromhex() arg at position 23

输入命令 blind_watermark --extract --pwd 1234 --wm_shape 111 xxx.png

M2的芯片 python试过了 3.8.0、3.12.0

请问是什么原因呢?如何解决

@GiantKs
Copy link
Author

GiantKs commented Dec 20, 2023

image
添加水印后产出的图片是一个纯白图片

@GiantKs
Copy link
Author

GiantKs commented Dec 20, 2023

不支持PNG入参吗

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant