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
Note: Please only report bugs in this repository. Just because you are getting an error message does not automatically mean you have discovered a bug. If you don't have a lot of experience with this type of project, or if you need for setup help and other issues in using the faceswap tool, please refer to the faceswap-playground instead. The faceswap-playground is also an excellent place to ask questions and submit feedback.
Expected behavior
When giving no option for sharpen image, no sharpen option should be applied
At scripts/convert.py L:115~120
Traceback (most recent call last):
File "faceswap.py", line 33, in <module>
arguments.func(arguments)
File "/home/kixlab3/Documents/shik/faceswap/lib/cli.py", line 162, in process_arguments
self.process()
File "/home/kixlab3/Documents/shik/faceswap/scripts/convert.py", line 191, in process
self.convert(converter, item)
File "/home/kixlab3/Documents/shik/faceswap/scripts/convert.py", line 229, in convert
image = converter.patch_image(image, face, 64 if "128" not in self.arguments.trainer else 128)
File "/home/kixlab3/Documents/shik/faceswap/plugins/Convert_Masked.py", line 42, in patch_image
return self.apply_new_face(image, new_face, image_mask, mat, image_size, size)
File "/home/kixlab3/Documents/shik/faceswap/plugins/Convert_Masked.py", line 50, in apply_new_face
if "bsharpen" in self.sharpen_image:
TypeError: argument of type 'NoneType' is not iterable
... (for example, installed packages that you can see with pip freeze)
The text was updated successfully, but these errors were encountered:
zxzl
changed the title
While converting, Default option 'None' for sharpen image in raise Error
While converting, Default option 'None' for sharpen image raises error
Apr 18, 2018
zxzl
changed the title
While converting, Default option 'None' for sharpen image raises error
While converting, default option 'None' for sharpen image raises error
Apr 18, 2018
Note: Please only report bugs in this repository. Just because you are getting an error message does not automatically mean you have discovered a bug. If you don't have a lot of experience with this type of project, or if you need for setup help and other issues in using the faceswap tool, please refer to the faceswap-playground instead. The faceswap-playground is also an excellent place to ask questions and submit feedback.
Expected behavior
When giving no option for sharpen image, no sharpen option should be applied
At
scripts/convert.py
L:115~120Actual behavior
Error like below pops ups
At plugins/Convert_Masked.py
when
self.sharpen_image
is None (default value), it cannot be handled correctlySteps to reproduce
Try converting without giving sharpen option
Other relevant information
pip freeze
)The text was updated successfully, but these errors were encountered: