Page 1 of 1

Problem with convert

Posted: Wed Aug 24, 2022 8:02 am
by rolnor

I get this error message, I have tried to make new images but the problem persists. What can be wrong?

08/24/2022 09:02:17 WARNING Convert error traceback:
Traceback (most recent call last):
File "C:\Users\rolfn\faceswap\lib\convert.py", line 161, in process
image = self._patch_image(item)
File "C:\Users\rolfn\faceswap\lib\convert.py", line 203, in _patch_image
out=np.empty(patched_face.shape, dtype="uint8"),
MemoryError: Unable to allocate 23.7 MiB for an array with shape (2160, 3840, 3) and data type uint8
08/24/2022 09:02:17 ERROR Failed to convert image: '308Kort_000799.png'. Reason: Unable to allocate 23.7 MiB for an array with shape (2160, 3840, 3) and data type uint8
08/24/2022 09:02:17 WARNING Convert error traceback:


Re: Problem with convert

Posted: Wed Aug 24, 2022 9:01 am
by torzdf

Try running convert with "single process" enabled or jobs set to "1"


Re: Problem with convert

Posted: Thu Aug 25, 2022 10:11 am
by rolnor

Thanx!
It worked.