Skip to content
This repository has been archived by the owner on Aug 29, 2023. It is now read-only.

numpy.core._exceptions._ArrayMemoryError #75

Open
Dreikfall opened this issue Aug 22, 2023 · 0 comments
Open

numpy.core._exceptions._ArrayMemoryError #75

Dreikfall opened this issue Aug 22, 2023 · 0 comments

Comments

@Dreikfall
Copy link

Guys, tell me what the problem is. I work with 4K video 25 fps 13000 kbps. I'm running on a cpu and 16gb ram. Approximately when the length of the video is more than 10 seconds. An error comes out:

fake_merged = img_mask * bgr_fake + (1-img_mask) * target_img.astype(np.float32)
numpy.core._exceptions._ArrayMemoryError: Unable to allocate 94.9 MiB for an array with shape (2160, 3840, 3) and data type float32

Swap file 16 GB, I work on behalf of the administrator.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant