Page 1 of 1

CUDA support on opencv-python: any good /worth?

Posted: Tue Jan 05, 2021 12:21 am
by tokafondo

I've seen that the precompiled opencv-python module on miniconda3 does not include CUDA support.

There are instructions on the web to enable CUDA support in that module.

Would faceswap get any benefit from using a CUDA enabled opencv-python module?

Thanks.


Re: CUDA support on opencv-python: any good /worth?

Posted: Tue Jan 05, 2021 12:24 am
by torzdf

We actually use pip for opencv as Cuda official is super old, and we often get issues with conda-forge opencv.

Enabling Cuda wouldn't really help faceswap. The GPU is the bottleneck (for training), and it is in full use for extraction. The only place there might be benefits is in convert.