refacer
refacer copied to clipboard
Crashing at extracting frames.
I have been trying to make this run on my linux machine with anaconda environment. app.py didnt work after I clicked on the button athnd it will show no output. So I ran the script.py and I get the following log. This I believe is due to usage of more memory than what is actually available. I havent had any issues with these on a windows machine, but only on linux. Pls help
Trying FFMPEG libx264 encoder FFMPEG libx264 encoder works Video codec for FFMPEG: libx264 CUDA mode with providers ['CUDAExecutionProvider', 'CPUExecutionProvider'] 5648748544 inswapper-shape: [1, 3, 128, 128] Total frames: 466 Extracting frames: 41%|███████████████████████████████████████████████████▋ | 191/466 [00:07<00:22, 12.15it/s]Killed
open refacer.py, find a line if len(frames) > 1000:
, and change 1000 to 100. It will use smaller (100 frames) batches and consume less memory.