You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 14, 2023. It is now read-only.
[INFO] Executing Mask To Maskref
Traceback (most recent call last):
File "DeepNude/main.py", line 82, in
argv.run()
File "/var/www/html/.../.../argv/init.py", line 35, in run
args.func(args)
File "/var/www/html/.../.../main.py", line 25, in main
select_processing().run()
File "/var/www/html/.../.../processing/init.py", line 23, in run
r = self._execute(args)
File "/var/www/html/.../.../processing/image.py", line 96, in _execute
r = run_worker(p, self.__image_steps, config=self._args)
File "/var/www/html/.../.../processing/worker.py", line 49, in run_worker
r = w.run([image_step[i] for i in w.input_index], config=config)
File "/var/www/html/.../.../transform/init.py", line 26, in run
return super().run(*args, config=config)
File "/var/www/html/.../.../processing/init.py", line 23, in run
r = self._execute(*args)
File "/var/www/html/.../.../transform/opencv/mask.py", line 55, in _execute
res2 = cv2.bitwise_and(green, green, mask=green_mask)
cv2.error: OpenCV(4.2.0) /io/opencv/modules/core/src/arithm.cpp:250: error: (-215:Assertion failed) (mtype == CV_8U || mtype == CV_8S) && _mask.sameSize(*psrc1) in function 'binary_op'
The text was updated successfully, but these errors were encountered:
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Sorry for the late reply, the --ignore-resize parameter is not recommended to use unless you know what you are doing. The algorithm obligatorily requires that the photos be of dimensions 512x512 otherwise the above error occurs.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
bugSomething isn't workingwontfixThis will not be worked on
Ubuntu 16, all work but no ignore size parameter
[INFO] Executing Mask To Maskref
Traceback (most recent call last):
File "DeepNude/main.py", line 82, in
argv.run()
File "/var/www/html/.../.../argv/init.py", line 35, in run
args.func(args)
File "/var/www/html/.../.../main.py", line 25, in main
select_processing().run()
File "/var/www/html/.../.../processing/init.py", line 23, in run
r = self._execute(args)
File "/var/www/html/.../.../processing/image.py", line 96, in _execute
r = run_worker(p, self.__image_steps, config=self._args)
File "/var/www/html/.../.../processing/worker.py", line 49, in run_worker
r = w.run([image_step[i] for i in w.input_index], config=config)
File "/var/www/html/.../.../transform/init.py", line 26, in run
return super().run(*args, config=config)
File "/var/www/html/.../.../processing/init.py", line 23, in run
r = self._execute(*args)
File "/var/www/html/.../.../transform/opencv/mask.py", line 55, in _execute
res2 = cv2.bitwise_and(green, green, mask=green_mask)
cv2.error: OpenCV(4.2.0) /io/opencv/modules/core/src/arithm.cpp:250: error: (-215:Assertion failed) (mtype == CV_8U || mtype == CV_8S) && _mask.sameSize(*psrc1) in function 'binary_op'
The text was updated successfully, but these errors were encountered: