umd-huang-lab / WAVES

Code for our paper "Benchmarking the Robustness of Image Watermarks"
42 stars 2 forks source link

A bug need to fix! #2

Closed lthero-big closed 6 months ago

lthero-big commented 6 months ago

Thanks for your work!!! We found a bug here:

Before we run 'python cli.py' , we need to add the following code to the bottom of cli.py,otherwise it won't work

if __name__ == "__main__":
    cli()
johnding1996 commented 6 months ago

Thanks for raising this issue. Yes, during our development, we actually install through pip install -e . and call the command-line interface through wmbench [commands] [args]. Thanks for letting us know. We will address the docs and code accordingly.