Search found 19 matches

by kilroythethird
Sun Nov 17, 2019 11:07 pm
Forum: Convert
Topic: Convert MASKED FACES ONLY with Alpha ?
Replies: 12
Views: 2549

Re: Convert MASKED FACES ONLY with Alpha ?

Join our server, we have cookies. https://discordapp.com/invite/FC54sYg

Just check the #general chat fe: you find me in the Primary dev group in the user list.

by kilroythethird
Sun Nov 17, 2019 10:42 pm
Forum: Convert
Topic: Convert MASKED FACES ONLY with Alpha ?
Replies: 12
Views: 2549

Re: Convert MASKED FACES ONLY with Alpha ?

Happy to help. In the folder you have faceswap installed in should be a file called "faceswap_win_launcher.bat". Please open this with notepad or any other text editor and paste the content in this thread (or send it to me via discord if you want). Additionally you will need to download th...
by kilroythethird
Sun Nov 17, 2019 10:25 pm
Forum: Convert
Topic: Convert MASKED FACES ONLY with Alpha ?
Replies: 12
Views: 2549

Re: Convert MASKED FACES ONLY with Alpha ?

Yes the background is transparent. Download this file ( https://gist.githubusercontent.com/kilroythethird/675080bab9598b72d271188cbf72f2c1/raw/00c1f1ed2bf4fd32d9686a6c78a078588ac9cff1/export_source_masked.py ) to your faceswap directory. Just run it inside your anaconda environment. If you don't kno...
by kilroythethird
Sun Nov 17, 2019 8:06 pm
Forum: Convert
Topic: Convert MASKED FACES ONLY with Alpha ?
Replies: 12
Views: 2549

Re: Convert MASKED FACES ONLY with Alpha ?

Its not that hard to use. If you can post the content of your "faceswap_win_launcher.bat" (if you are on windows) or "faceswap_gui_launcher.sh" (linux) i can give you a file you'd only need to click and follow the dialog :) I am currently throwing together the script. Just to be ...
by kilroythethird
Sun Nov 17, 2019 5:48 pm
Forum: Convert
Topic: Convert MASKED FACES ONLY with Alpha ?
Replies: 12
Views: 2549

Re: Convert MASKED FACES ONLY with Alpha ?

Looks like i misunderstood your question, sorry. What i described above would require training and would produce images where everything except the converted face would be transparent. Only using the detector/alignment part of faceswap and export the masked original faces is not supported as far as ...
by kilroythethird
Sun Nov 17, 2019 4:43 pm
Forum: Convert
Topic: Convert MASKED FACES ONLY with Alpha ?
Replies: 12
Views: 2549

Re: Convert MASKED FACES ONLY with Alpha ?

Go to Settings->Configure Convert plugins->Writer->Opencv and check "Draw Transparent".
Then just convert using the opencv writer.

by kilroythethird
Thu Nov 14, 2019 8:48 pm
Forum: Installation
Topic: Problem installing plaidml
Replies: 8
Views: 3363

Re: Problem installing plaidml

I moved your question into its own topic You are missing an opencl driver. LLVM is CPU based, you don't want that. You need to install the OpenCl driver from amdgpupro http://support.amd.com/en-us/kb-articles/Pages/AMDGPU-PRO-Driver-for-Linux-Release-Notes.aspx If there is a package in your reposit...
by kilroythethird
Sun Nov 10, 2019 2:48 pm
Forum: Training
Topic: Failed to convert object of type <class 'plaidml.tile.Value'> to Tensor while training
Replies: 1
Views: 1177

Re: Crash before training starts

ICNR currently doesn't work for AMD user.
Please go to Settings->Training->Global ad uncheck "ICNR init"

by kilroythethird
Sun Nov 10, 2019 2:19 pm
Forum: Training
Topic: Tuple index out of range
Replies: 5
Views: 1768

Re: [Crash] Tuple index out of range

Training on the CPU really is nothing i would suggest. It will take a real long time. I'd suggest running in the "cloud". Check out for info about that: https://discordapp.com/channels/441989398465085440/598220325217501278 If you want to help us it would be awesome if you could set the Log...
by kilroythethird
Wed Nov 06, 2019 4:51 pm
Forum: Artificial Intelligence
Topic: Process of video processing
Replies: 2
Views: 4778

Re: Process of video processing

We are using keras for our models with the tensorflow backend for nvidia cards and the plaidml one for amd cards. The training guide has a lot of information about how the whole thing works. https://forum.faceswap.dev/viewtopic.php?f=6&t=146 Additionally our main devs are at the devoxx conferenc...
by kilroythethird
Wed Nov 06, 2019 4:39 pm
Forum: Convert
Topic: Faceswap not launching after forced end
Replies: 5
Views: 1971

Re: Faceswap not launching after forced end

If you didn't try restarting your system already that would be worth a try.

Otherwise please select the TRACE loglevel, start again and attach the resulting "faceswap.log" file (should be in your faceswap directory)

by kilroythethird
Wed Oct 30, 2019 3:56 pm
Forum: Convert
Topic: Blurry face when converting (first time)
Replies: 3
Views: 2462

Re: Blurry face when converting (first time)

Yes, 50k iterations is highly likely to few. How long you need to train depends on the model, the batchsize and your dataset. Also it looks like one of your datasets has glasses. This is really hard to get right (probably not possible with satisfactory results atm to be honest). To remove unwanted f...
by kilroythethird
Sun Sep 22, 2019 2:41 pm
Forum: Hardware
Topic: GPU Training Speed
Replies: 10
Views: 5946

Re: GPU Training Speed

Considering how fast faceswap develops we maybe should use a fixed version for this (tag on GH or at some fixed commit) ? A c+p able snippet to checkout at a given commit, download a test faceset, run for a fixed iteration count at a given BS (?), revert to current master should do. Someone could ev...
by kilroythethird
Sun Sep 08, 2019 12:54 pm
Forum: Training
Topic: Training process duration !
Replies: 4
Views: 2247

Re: Training process duration !

It will run 1000000 iterations by default if you don't stop it, which is basically for ever.
If you, for some reason, want to have it stopped set the Iterations to a smaller value.

by kilroythethird
Tue Sep 03, 2019 3:52 pm
Forum: Hardware
Topic: Can i use multiple gpus in parallel
Replies: 6
Views: 3325

Re: Can i use multiple gpus in parallel

Please let us know how it goes.
Would definitely be interesting.

by kilroythethird
Mon Sep 02, 2019 9:52 pm
Forum: Hardware
Topic: Can i use multiple gpus in parallel
Replies: 6
Views: 3325

Re: Can i use multiple gpus in parallel

If you have enough free vram you can for sure run two faceswap instances simultaneously with the plaidml backend. Using different cards in each faceswap instance should also work. Simply running plaidml-setup, then starting the first faceswap process, plaidml-setup again and the other process should...
by kilroythethird
Mon Sep 02, 2019 6:54 pm
Forum: Hardware
Topic: Can i use multiple gpus in parallel
Replies: 6
Views: 3325

Re: Can i use multiple gpus in parallel

Sadly multi GPU is not possible with plaidml.
There is nothing we can really do about. Its a limitation of plaidml at the moment.

by kilroythethird
Mon Aug 26, 2019 5:21 am
Forum: Extract
Topic: Sorting Tool Not Working
Replies: 1
Views: 913

Re: Sorting Tool Not Working

Thanks for the report.
There is a bug when not providing the output directory.
For now please provide an output directory and it should work.

by kilroythethird
Sat Aug 24, 2019 7:35 pm
Forum: Extract
Topic: [Guide] Extraction - A Workflow
Replies: 58
Views: 180837

Re: [Guide] Extraction - A Workflow

@Vaca: If you see opencl and CPU options in sort you are using a old faceswap version. Update via "tools" -> "check for updates. Should also be a good bit faster after the update,