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

Installing and setting up FaceSwap


Forum rules

Read the FAQs and search the forum before posting a new topic.

Please mark any answers that fixed your problems so others can find the solutions.

Locked
User avatar
tokafondo
Posts: 31
Joined: Mon Dec 16, 2019 1:43 pm
Has thanked: 10 times
Been thanked: 4 times

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

Post 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.


User avatar
torzdf
Posts: 1266
Joined: Fri Jul 12, 2019 12:53 am
Answers: 120
Has thanked: 39 times
Been thanked: 251 times

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

Post 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.

My word is final


Locked