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

Failed To Execute Script Protection #183

Open
JackMadeley opened this issue Feb 3, 2024 · 0 comments
Open

Failed To Execute Script Protection #183

JackMadeley opened this issue Feb 3, 2024 · 0 comments

Comments

@JackMadeley
Copy link

Issue

When using the Linux binary (v1.0) downloaded from http://sandlab.cs.uchicago.edu/fawkes/#code, I am unable to run the command:

./protection -d /Images

A ValueError is thrown from the Numpy library that causes the script to fail.

Error Message

/tmp/_MEIYYSmx0/numpy/lib/function_base.py:792: VisibleDeprecationWarning: Creating an ndarray from ragged nested sequences (which is a list-or-tuple of lists-or-tuples-or ndarrays with different lengths or shapes) is deprecated. If you meant to do this, you must specify 'dtype=object' when creating the ndarray
Traceback (most recent call last):
  File "fawkes/protection.py", line 201, in <module>
  File "fawkes/protection.py", line 197, in main
  File "fawkes/protection.py", line 94, in run_protection
  File "fawkes/utils.py", line 203, in __init__
  File "<__array_function__ internals>", line 6, in copy
  File "numpy/lib/function_base.py", line 792, in copy
ValueError: could not broadcast input array from shape (1600,1200,3) into shape (1600)
[719356] Failed to execute script protection

Environment

  • Ubuntu 22.04.3 LTS

Additional Information

I have tried redownloading the binary but with no luck. From a first glace it looks like the dimensions of the matrices created are incompatible.

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