Search found 13 matches

by Surrogator
Sun May 15, 2022 1:59 pm
Forum: Convert Discussion
Topic: [Script] Create video from timelapse images
Replies: 2
Views: 32983

Re: [Script] Create video from timelapse images

torzdf wrote: Fri May 13, 2022 10:15 pm

if you're within the faceswap environment (i.e. conda activate faceswap) then ffmpeg will be available in PATH.

This checks out! I'm updating the original post.

by Surrogator
Fri May 13, 2022 3:59 am
Forum: Convert Discussion
Topic: [Script] Create video from timelapse images
Replies: 2
Views: 32983

[Script] Create video from timelapse images

The following Windows batch script will create a 60 fps video from your timelapse images. Create a new file called timelapse.bat and paste the following contents: @ECHO off IF EXIST timelapse_concat.txt DEL /F timelapse_concat.txt ECHO Gathering images... FOR %%G IN (*.jpg) DO ( @ECHO file %%G >> ti...
by Surrogator
Wed Jul 08, 2020 10:11 am
Forum: Extract Discussion
Topic: Extracting multiple sources to one folder breaks remove-faces and rename
Replies: 5
Views: 3920

Re: Extracting multiple sources to one folder breaks remove-faces and rename

to avoid people accidentally pointing at the wrong faces folder and removing all the faces from the alignments file. That's a nice precaution. I'd say the fact the alignments tool makes a backup of your files every time you run one through the tool, it's safe to remove the directory pre-check. Inst...
by Surrogator
Tue Jul 07, 2020 11:28 pm
Forum: Extract Discussion
Topic: Extracting multiple sources to one folder breaks remove-faces and rename
Replies: 5
Views: 3920

Re: Extracting multiple sources to one folder breaks remove-faces and rename

Thanks for the workaround suggestion. I prefer extracting multiple sources to a single folder and sorting everything in one go because it saves a LOT of time. That said, I think this reveals the process of working with Faceswap can be a bit too brittle. One misstep and you lose quite a lot of time f...
by Surrogator
Tue Jul 07, 2020 6:19 am
Forum: Extract Discussion
Topic: Extracting multiple sources to one folder breaks remove-faces and rename
Replies: 5
Views: 3920

Extracting multiple sources to one folder breaks remove-faces and rename

Create a faces destination directory, let's call it "faces". Extract source_1.mp4. Extract source_2.mp4. Sort "faces" directory by Face. Remove all unwanted faces. Update source_1_alignments.fsa with Alignments > remove-faces tool. Faces which were deleted from the "faces&q...
by Surrogator
Sun Jul 05, 2020 11:22 am
Forum: Extract Discussion
Topic: Re-extraction after manual tool causes missing unet-dfl masks
Replies: 5
Views: 6709

Re-extraction after manual tool causes missing unet-dfl masks

I've extracted faces with a unet-dfl masker. I've sorted faced and removed false positives and some misaligned extractions. I've used the manual tool to find the missing faces and set alignments for them. I've deleted the original extracted faces and re-extracted the faces using the new alignments ...
by Surrogator
Wed Sep 18, 2019 1:57 am
Forum: Training Discussion
Topic: [Tip] Finding your highest batch size
Replies: 7
Views: 48331

Re: [Guide] Finding your highest batch size

This is not recommended. What isn't? Finding the highest batch size? How can you find a batch size safely under the limit, if you don't know what the limit is? This guide helps you find your system's limit. you should add a "buffer" of a few extra samples to make sure you don't OOM at som...
by Surrogator
Tue Sep 17, 2019 3:13 pm
Forum: Training Discussion
Topic: [Tip] Finding your highest batch size
Replies: 7
Views: 48331

Re: [Guide] Finding your highest batch size

bryanlyon wrote: Tue Sep 17, 2019 3:09 pm

you should add a "buffer" of a few extra samples to make sure you don't OOM at some random point.

Did you read the guide?

by Surrogator
Tue Sep 17, 2019 1:45 pm
Forum: Training Discussion
Topic: [Tip] Finding your highest batch size
Replies: 7
Views: 48331

[Tip] Finding your highest batch size

At the moment of writing, Faceswap doesn't offer a solution to figure out your maximum batch size out of the box. We'll be using a technique called Binary Search Algorithm to manually find your highest achievable batch size for training a given model on your GPU. That's just a fancy way of saying we...
by Surrogator
Mon Sep 16, 2019 3:48 am
Forum: General Discussion
Topic: What does your workspace look like?
Replies: 1
Views: 2941

What does your workspace look like?

I've recently redone my entire folder structure because it made more sense to keep all the files organised that way. I was wondering how other people have set up their workspace directories to work with Faceswap efficiently. This is my what my workspace and workflow look like: Workspace C:\ ├── code...
by Surrogator
Fri Jul 26, 2019 4:57 am
Forum: Extract Discussion
Topic: [Script] Copy every Nth face to subfolder - Lightning fast facesets
Replies: 1
Views: 47251

[Script] Copy every Nth face to subfolder - Lightning fast facesets

The following Windows batch script will create a subdirectory named subset in the working directory where it's called, and then copy every Nth file from the working directory into the subdirectory. This is useful if you want to create a faceset from an extraction with a low Extract Every N setting (...
by Surrogator
Tue Jul 16, 2019 10:45 pm
Forum: Training Discussion
Topic: Loss briefly spiked, then recovered. What happened?
Replies: 4
Views: 3428

Loss briefly spiked, then recovered. What happened?

I just started training for the first time. It was running for about 15 minutes, and I had stepped away from the computer for a moment. When I came back I saw this. I think this means that my model collapsed, but it also recovered on its own. I'm pretty sure I would've terminated training if I was p...
by Surrogator
Mon Jul 15, 2019 12:21 am
Forum: Hardware
Topic: My 2080 Ti build
Replies: 2
Views: 4592

My 2080 Ti build

PCPartPicker Part List - Purchased 11 July 2019, prices in AU$: CPU: Intel - Core i5-9600KF 3.7 GHz 6-Core Processor ($349.00 @ BudgetPC) CPU Cooler: be quiet! - Pure Rock 51.7 CFM Sleeve Bearing CPU Cooler ($49.01 @ PCCaseGear) Motherboard: Asus - PRIME Z390-P ATX LGA1151 Motherboard ($234.00 @ Sh...