Search found 1558 matches

by torzdf
Wed Dec 08, 2021 6:26 pm
Forum: Extract Support
Topic: cudaGetDevice() failed. Status: initialization error
Replies: 1
Views: 6

Re: cudaGetDevice() failed. Status: initialization error

This is an out of memory error message. You may get it to work using the MCNN extractor, but you are going to struggle to do much with a 2GB gpu.

by torzdf
Mon Dec 06, 2021 1:22 pm
Forum: Training Support
Topic: Critical Unexpected Crash: Custommaskwarning:
Replies: 4
Views: 158

Re: Critical Unexpected Crash: Custommaskwarning:

Ok, on the face of it there is no obvious issue with your setup.... The problem is an internal openCV error (application we use for Computer Vision) relating to color augmentation whilst training. I have a vague recollection of someone having this issue before in our Discord server. Unfortunately I ...
by torzdf
Sun Dec 05, 2021 2:05 pm
Forum: Training Support
Topic: Critical Unexpected Crash: Custommaskwarning:
Replies: 4
Views: 158

Re: Critical Unexpected Crash: Custommaskwarning:

The custom mask warning is irrelevant and should be ignored (it is internal to tf.keras, but does not impact us in anyway). The actual problem is to do with your openCV install: cv2.error: Unknown C++ exception from OpenCV code However, ignoring this instruction means I cannot assist further: 12/04/...
by torzdf
Sat Dec 04, 2021 2:03 pm
Forum: Introductions
Topic: My first face swap & Introduction
Replies: 1
Views: 183

Re: My first face swap & Introduction

FEW QUESTIONS; Does anyone know some software to see what my gfx card is actually doing? Windows pretends as if it is doing not much at all and my VRAM is only using 0.6GB out of 6 available I am using batch size 32 now instead of 16, is there any advantage in using larger batch sizes? I don't real...
by torzdf
Sat Dec 04, 2021 1:58 pm
Forum: Hardware
Topic: GPU doing nothing :-(
Replies: 4
Views: 89

Re: GPU doing nothing :-(

gpu_cuda: No global version found. Check Conda packages for Conda Cuda gpu_cudnn: No global version found. Check Conda packages for Conda cuDNN This doesn't look good. :-( No, that's how it should be. I;m more concerned that Conda has not installed the cudatoolkit and cudnn. Delete your faceswap fo...
by torzdf
Sun Nov 28, 2021 11:19 am
Forum: Extract Discussion
Topic: Questions on Multiple Sources
Replies: 4
Views: 7340

Re: Questions on Multiple Sources

Oh, do I need to run a face extraction on the video I want to swap the face on? Yes. The convert guide (and by extension the extract guide) covers this. Did I ruin 3 nights of training by adding from multiple unrelated sources ? (Same person though) No this is 100% the right thing to do. More sourc...
by torzdf
Fri Nov 26, 2021 6:27 pm
Forum: Swap Showcase
Topic: Phaze-A - 256px Demo
Replies: 13
Views: 24158

Re: Phaze-A - 256px Demo

i pulled ScaJo set from 21 movies and Emma Stone from 13 movies, all 1080p+ sources. I can't remember how many images... probably more than I needed.

The most important part was that I spent a not inconsiderable amount of time making sure that I had a decent quality training set for each side.

by torzdf
Mon Nov 22, 2021 11:46 am
Forum: Hardware
Topic: Windows 11 compatible?
Replies: 1
Views: 3314

Re: Windows 11 compatible?

Hasn't been tested, but there is no obvious reason why FS should not run on Windows 11.

by torzdf
Mon Nov 22, 2021 11:45 am
Forum: Convert Discussion
Topic: Draw transparent jpg
Replies: 2
Views: 3204

Re: Draw transparent jpg

Honestly, sounds like a bug. Not one I will look to fix any time soon though, as it seems to be a "feature" for you.

Ultimately, "draw-transparent" is not compatible with jpegs as that format does not have an alpha channel. The process should not let you do it.

by torzdf
Mon Nov 22, 2021 11:43 am
Forum: Training Support
Topic: How to improve training?
Replies: 1
Views: 2862

Re: How to improve training?

Everyone's first swap is terrible. Just be prepared for that. However.... graph analysis turned pretty much into a straight line at around 0.02 error for A after 50K iterations Make sure to re-read this section. Graph at default zoom will not give you enough information in later stage training: http...
by torzdf
Sat Nov 20, 2021 10:29 pm
Forum: Extract Support
Topic: ModuleNotFoundError: No module named 'cv2'
Replies: 5
Views: 10968

Re: Extracting & Training Crashed

haoylee wrote: Sat Nov 20, 2021 7:31 pm

Hi,

I finally got a successful (or maybe not) installation come out, but when I started extracting or training wih my old sets the following error popped up, and I never encountered it before.

Code: Select all


ModuleNotFoundError: No module named 'cv2'
Screenshot_20211120_222818.png
Screenshot_20211120_222818.png (12.8 KiB) Viewed 2383 times
by torzdf
Fri Nov 19, 2021 2:59 pm
Forum: Installation Support
Topic: Installed on nVidia but Not Using GPU while Extracting or Training
Replies: 2
Views: 2378

Re: Installed on nVidia but Not Using GPU while Extracting or Training

Uninstall your global Cuda. It is conflicting with the local version that faceswap installs

by torzdf
Fri Nov 19, 2021 2:57 pm
Forum: Hardware
Topic: GPU RAM Size vs. TFLOPS: which matters more?
Replies: 3
Views: 2126

Re: GPU RAM Size vs. TFLOPS: which matters more?

bryanlyon will be better able to answer, but I'm not sure TFLOPS is the best measure for ML performance. Either way, speed vs ram size comes down purely to preference. Larger RAM size will enable you to train bigger models. Faster GPUs will enable you to train models quicker. Ultimately it comes do...
by torzdf
Fri Nov 19, 2021 2:54 pm
Forum: Hardware
Topic: The extract speed is not improved after upgrading the GPU?
Replies: 3
Views: 2243

Re: The extract speed is not improved after upgrading the GPU?

Unfortunately not. The backend for AMD uses PlaidML whilst Nvidia uses Tensorflow. These ML implementations are not cross-compatible.

by torzdf
Fri Nov 19, 2021 2:53 pm
Forum: Extract Support
Topic: How to remove the padding from the extracted faces
Replies: 2
Views: 1979

Re: How to remove the padding from the extracted faces

You will only be able to do this by editing the code. I'm not going to go into detail about what you have to do, but will point you in the direction of where you need to look. The code which controls the padding around the face is here: https://github.com/torzdf/faceswap/blob/808e00895d06e804ff64f8f...
by torzdf
Fri Nov 19, 2021 2:43 pm
Forum: Extract Support
Topic: Alignments file out of snyc with images
Replies: 7
Views: 3299

Re: Alignments file out of snyc with images

Ok, the only way I'll be able to investigate this is to examine your source data and alignments file. If you can zip them up and provide to me (by PM) then I can investigate. I will only be using this data to fix this bug, I can guarantee it will not be shared.

by torzdf
Thu Nov 18, 2021 5:23 pm
Forum: Extract Support
Topic: Alignments file out of snyc with images
Replies: 7
Views: 3299

Re: Alignments file out of snyc with images

Hmmm, ok. That is odd. Do the faces previews look correct?

Ultimately, I think I'm going to need you to zip up your pics and alignments file and provide for me so I can see what's going on here. You are welcome to PM me the link.

by torzdf
Thu Nov 18, 2021 11:50 am
Forum: General Discussion
Topic: Are there any good video tutorials?
Replies: 1
Views: 3108

Re: Are there any good video tutorials?

We do not have any official videos, as they take time to create (which I do not have) and take even more time to keep up to date. This video will provide an overview, but be aware, it is not endorsed by us and does several things incorrectly, however it can be a decent starting point: https://www.yo...
by torzdf
Thu Nov 18, 2021 11:48 am
Forum: Hardware
Topic: The extract speed is not improved after upgrading the GPU?
Replies: 3
Views: 2243

Re: The extract speed is not improved after upgrading the GPU?

Reinstalling Faceswap is unlikely to make a difference. However AMD really is not well optimizied for ML, so this may just be expected behavior (not ideal, I know, but Nvidia is much better at this stuff)