Closed kenmbkr closed 4 years ago
All the frames for particular block is saved to the RAM first. So maybe video have high resolution and amount of Ram in you server is low. If you decrease number of workers amount of used ram will also decrease. So you could try to use 4 workers.
I used 4 workers and it works for me. Thank you.
I encountered the following memory error when processing the Taichi Dataset. The same script works for VoxCeleb and the error does not occur at the first iteration but arbitrarily at 200+ iterations. Any idea what caused the problem? For example, a particular video, or number of workers, ... Would using a
try-except
block to wrapmimsave
or using only 1 worker fix the problem?