Search found 24 matches

by jode
Tue Mar 26, 2024 2:24 pm
Forum: Extract Support
Topic: Config parameters from command line
Replies: 2
Views: 2897

Re: Config parameters from command line

You can't pass config items direct from the command line, no. You can, however, pass config file paths direct from the command line. So you can just create a different config file for each of your changes, and pass the relevant path in: -C CONFIGFILE, --configfile CONFIGFILE Optionally overide the ...
by jode
Tue Mar 26, 2024 2:03 pm
Forum: Extract Support
Topic: Config parameters from command line
Replies: 2
Views: 2897

Config parameters from command line

If I'm running extraction from command line, is there any way to add some parameters existing in extract.ini straight to the command? For example if I'm using mtcnn detector and I want to use different scalefactor than in extract.ini, is there any way to change it like adding '-scalefactor 0.8' to c...
by jode
Sat Mar 23, 2024 6:23 am
Forum: Extract Discussion
Topic: Feature request / Tip: How to improve face detecting
Replies: 0
Views: 3587

Feature request / Tip: How to improve face detecting

With some videos faceswap doesn't detect faces if they are too far away (even with minimum settings), too blurry or in hard angle. It's very time consuming to fix these faces with manual tool. I've done some testing with face restoration scripts with good results: First I extract faces from original...
by jode
Fri Mar 01, 2024 1:57 pm
Forum: Extract Discussion
Topic: Manual Tool and faces filters
Replies: 3
Views: 1314

Re: Manual Tool and faces filters

The easiest way to achieve what you are looking for (outside of the manual tool) would be: . . Sadly that's what I've done this far and making thing's easier would be in manual tool, not outside of it. But maybe some day... IIRC ths can't be disabled by default. You have to uncheck the 'show previe...
by jode
Fri Mar 01, 2024 10:22 am
Forum: Extract Discussion
Topic: Manual Tool and faces filters
Replies: 3
Views: 1314

Manual Tool and faces filters

How difficult would it be to add some face filter more to manual tool? I'd really like to have "only 1 face", "2 faces" and "over 2 faces". Filters existing doesn't help the way I like because "has faces" shows every frame with faces despite the amount of them...
by jode
Wed Jan 03, 2024 9:05 am
Forum: Extract Discussion
Topic: Extract speed from command line
Replies: 2
Views: 2723

Re: Extract speed from command line

The GUI and Cli run exactly the same process, so there should be no discernible difference. Most likely, you are not running the Cli line from inside your faceswap environment. You need to do: Start > Anaconda Prompt conda activate faceswap Then execute the command line. You need to do this so that...
by jode
Mon Jan 01, 2024 6:39 am
Forum: Extract Discussion
Topic: Extract speed from command line
Replies: 2
Views: 2723

Extract speed from command line

I have wondered why extract speed is so much slower from command line than doing it from gui? From command line speed is something about 5 it/sec when making it with same settings and same videofiles from gui it's about 15-20 it/sec. That makes no sense :lol:

by jode
Fri Dec 15, 2023 11:55 am
Forum: Extract Discussion
Topic: Image sorting tool
Replies: 5
Views: 24542

Re: Image sorting tool

I found one new way to find bad images from extracted B face dataset. My own presorting tool I'm making uses mask preview files to see what faces is worth to keep. I use Dupeguru to delete too similar faces. But before that, I use Dupeguru to find all 80% duplicates and when results windows opens I ...
by jode
Thu Nov 23, 2023 1:41 pm
Forum: Extract Discussion
Topic: Image sorting tool
Replies: 5
Views: 24542

Re: Image sorting tool

I found out how to do it with imagemagick but it's little bit clumsy. First you have to convert image to 2 color image and then use connected-components to make txt file where all objects are listed. Then read the list to define if there's two or more objects (two because background is one and face ...
by jode
Thu Nov 23, 2023 5:09 am
Forum: Extract Discussion
Topic: Image sorting tool
Replies: 5
Views: 24542

Re: Image sorting tool

I maybe wrote badly (sorry my english) but if you extract images and then use mask tool to make mask preview images of extracted images, there's only one face in the image. But if there's hair over cheek, it cut's face in two parts. The main face is the biggest object and then there's backgroundcolo...
by jode
Wed Nov 22, 2023 1:54 pm
Forum: Extract Discussion
Topic: Image sorting tool
Replies: 5
Views: 24542

Image sorting tool

Does anybody know if there's some tool that can sort images by how many objects them have? For example if mask preview picture contains only face in white background, that's 1 object. But if there's hair over cheek and it cuts face in to two parts, then it's two objects. I think this could be done s...
by jode
Thu Nov 16, 2023 2:42 pm
Forum: Extract Discussion
Topic: Extract+Sort by face (full images, not just face)
Replies: 3
Views: 10510

Re: Extract+Sort by face (full images, not just face)

Thanks. It'd be a nice feature to have the extract process have an option to generate (or convert the existing image) to a png with the data header but as the same full image. That way FaceSwap could be used as a general tool for sorting images by face. Extract your original images, sort them with ...
by jode
Fri Nov 03, 2023 1:50 pm
Forum: Extract Discussion
Topic: My way of creating good training set
Replies: 11
Views: 10533

Re: My way of creating good training set

I love over analysing datasets, so good work, and keep it up :) Feel free to share your script here so others can try it out. I can also look at your blur code, as the blur detection we have in Faceswap already masks out the background, so if it works well, I can look to implement it as a sort opti...
by jode
Fri Nov 03, 2023 8:25 am
Forum: Extract Discussion
Topic: My way of creating good training set
Replies: 11
Views: 10533

Re: My way of creating good training set *UPDATE*

I have now improved my system and I extended folders to 49 (7x7). It's necessary because folders 1-14 and 36-49 have usually so few images so there must be more folders in the middle where most of the images is grouped. I have made script that groups all extracted images to those 49 directories. The...
by jode
Wed Oct 18, 2023 5:37 am
Forum: Extract Discussion
Topic: Alignments tool 'rename'
Replies: 1
Views: 6072

Alignments tool 'rename'

When using rename option in alignmets tool it won't work without alignments file. But it renames filenames right even if it have wrong alignments file given. Does it really need it or is there something going wrong with images with wrong alignments file? Just to be sure before making any damage :lol:

by jode
Sat Oct 14, 2023 2:13 pm
Forum: Extract Discussion
Topic: My way of creating good training set
Replies: 11
Views: 10533

Re: My way of creating good training set

FIrst of all I had misunderstood what pitch and yaw means :oops: Those was just the right type of grouping I was looking for before. Now making trainsetmaker-script it more easier: So the process will be something like this to every B face video: After extraction I group images by face for cleaning ...
by jode
Mon Oct 09, 2023 3:44 am
Forum: Extract Discussion
Topic: My way of creating good training set
Replies: 11
Views: 10533

Re: My way of creating good training set

Thanks for sharing. A couple of points/questions... First I use sort tool to group images by blur making 10 different bins. Then I discard blurriest image directories containing about 20% of images and there's left about 8000 sharpest images. Do you find this effective? I have found sorting by blur...
by jode
Sun Oct 01, 2023 6:40 am
Forum: Extract Discussion
Topic: My way of creating good training set
Replies: 11
Views: 10533

My way of creating good training set

Let's say the situation is that we have 5 videos which we want to use making good training set for face B. But how to choose versatile set of images from every face angle possible but not too much same type of images? I'm using this method which goes something like this: At the beginning I of course...
by jode
Mon Sep 18, 2023 1:57 pm
Forum: Training Support
Topic: Training only B side
Replies: 2
Views: 6403

Training only B side

Maybe stupid question but is it possible to train only B side? I often use same B side to different A sides. Hoping I could make B side "ready" for next project and then just load weights to make training faster. Is it possible with Phaze-A trainer?

by jode
Wed May 10, 2023 3:52 am
Forum: Training Support
Topic: Training with different facesets
Replies: 1
Views: 1432

Training with different facesets

Sometimes when training, frontal faces train faster than profile faces. In preview profiles are more blurry than frontal ones. I've made new faceset from those hard training profile faces to train only them more to catch up frontal faces. Does this harm model anyway?