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: 32
Joined: Mon Dec 16, 2019 1:43 pm
Has thanked: 10 times
Been thanked: 5 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: 2649
Joined: Fri Jul 12, 2019 12:53 am
Answers: 159
Has thanked: 128 times
Been thanked: 623 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