Converting source frames into swapped frames
Read the FAQs
and search the forum
before posting a new topic.
Please mark any answers that fixed your problems so others can find the solutions.
- Posts: 33
- Joined: Thu Jul 02, 2020 10:51 am
- Has thanked: 6 times
- Been thanked: 2 times
I have this message come up when converting, just curious as to what it is?
Code: Select all
I:\FS\faceswap\pluginst\color\avg_color.py:16: RuntimeWarning: invalid value encountered in true_divide
adjustment = avg_diff / np.sum(raw_mask, axis=(0, 1))
I:\FS\faceswap\lib\convert.py:193: RuntimeWarning: invalid value encountered in rint
patched_face = np.rint(patched_face,
The beginning of the end.
- Posts: 918
- Joined: Fri Jul 12, 2019 12:53 am
- Has thanked: 26 times
- Been thanked: 181 times
I've not seen that message before, and it would be tricky to trouble shoot as it is being generated from the underlying C library. However, I would imagine it is exactly what it says. It has received a value that it cannot round to the nearest integer. I have no idea what that value might be though.