Search found 49 matches

by korrupt78
Mon Apr 27, 2020 1:12 am
Forum: Convert
Topic: dying mid-conversion with -9 exit code
Replies: 1
Views: 863

dying mid-conversion with -9 exit code

What does it mean if a convert command dies at a random point in the conversion process with no error message and a -9 exit code? Happens often on my desktop (GTX 960) but not my training server (RTX 2060). (I have -ag enabled for all convert and train commands.)

(Ubuntu on both machines)
by korrupt78
Sat Apr 25, 2020 1:16 pm
Forum: Training
Topic: recording and graphiing training history
Replies: 3
Views: 825

Re: recording and graphiing training history

I may be misunderstanding, but this is built in.... We store logs in the model folder which can be loaded up in tensorboard. You can parse these files to extract the data Oh? Is that in the original_logs subdirectory? I haven't explored it because it was opaque (binary) and esoteric compared to ori...
by korrupt78
Sat Apr 25, 2020 1:13 am
Forum: Training
Topic: recording and graphiing training history
Replies: 3
Views: 825

recording and graphiing training history

Would there be any value in recording the iteration/loss values (at the 100x sampling rate used by the snapshotting feature for convenience) and graphing it to watch how the X relates to Y from one model to another? I found a python wrapper for inotify, and am working on a standalone script to do th...
by korrupt78
Wed Apr 22, 2020 7:13 am
Forum: Convert
Topic: can I specify output filename for ffmpeg?
Replies: 1
Views: 755

can I specify output filename for ffmpeg?

I'm using `-w ffmpeg` to convert from and to video, and would like to tell faceswap what filename to use for the final video file, rather than letting it use the default `_converted` name and then renaming it manually after. Is there an option for that?
by korrupt78
Sat Apr 18, 2020 11:20 pm
Forum: Extract
Topic: script to prune faces mistakenly generated despite -een arg
Replies: 0
Views: 1665

script to prune faces mistakenly generated despite -een arg

For some reason, the extract command regularly disobeys the -een 6 arg that I pass it on the command line at a random point in the extraction process. It starts off good, and then at some point (usually 100-200 frames into a video) will switch to generating every frame instead of every 6th frame, cr...
by korrupt78
Sat Apr 18, 2020 12:00 am
Forum: Extract
Topic: [Script] View or Modify Alignments .fsa file
Replies: 1
Views: 1162

[Script] View or Modify Alignments .fsa file

When extracting faces from a video, Faceswap currently ties the contents of the alignments (.fsa) file to the name of the video file at the time of extraction, which limits my ability to rename it later. In order to facilitate that, I wrote this simple tool: https://gist.github.com/odigity/107fca82a...
by korrupt78
Fri Feb 14, 2020 4:42 am
Forum: Extract
Topic: manual tool - purpose of third window?
Replies: 9
Views: 1304

Re: manual tool - purpose of third window?

torzdf wrote:
Thu Feb 13, 2020 11:42 pm
More likely weeks, but it will be released to Patreons first.
Cool - just joined.
by korrupt78
Thu Feb 13, 2020 10:58 pm
Forum: Extract
Topic: maximizing input quality
Replies: 2
Views: 739

Re: maximizing input quality

We don't use JPG. We use PNG which is lossless. I somehow failed to notice it was PNG instead of JPG. I also didn't know PNG was lossless - I though it supported lossy compression but was better at it - and less legally unencumbered. Good to know, that eliminates any concern about loss during the e...
by korrupt78
Thu Feb 13, 2020 10:55 pm
Forum: Extract
Topic: manual tool - purpose of third window?
Replies: 9
Views: 1304

Re: manual tool - purpose of third window?

I wouldn't bother, It's being replaced with something much better, Any guess when that'll be released? If it's really soon (days or weeks), it would make sense for me to avoid investing any more time practicing with and building on the existing tool and spend my time on other factors until the new ...
by korrupt78
Thu Feb 13, 2020 10:53 pm
Forum: Extract
Topic: maximizing input quality
Replies: 2
Views: 739

maximizing input quality

Let's say you want to use a face from a film, with maximum quality. The highest quality is whatever the scene was originally record on - either a film negative, or some kind of raw DV tape. From there, the post-production process will end up re-encoding (and compressing) that original asset multiple...
by korrupt78
Thu Feb 13, 2020 9:27 pm
Forum: Extract
Topic: manual tool - purpose of third window?
Replies: 9
Views: 1304

Re: manual tool - purpose of third window?

Manual tool is being reworked. Nice. I love progress. Hold down the middle mouse button in the box and drag up/down to adjust the box height and left and right to adjust the box width. Ok, with that understanding a little patience, I got that to work. I find it unintuitive - especially when the res...
by korrupt78
Thu Feb 13, 2020 6:22 am
Forum: Installation
Topic: Faceswap GUI : A Textual Representation
Replies: 1
Views: 1320

Faceswap GUI : A Textual Representation

I don't know if this will be useful to anyone else, but I decided to scratch an OCD itch and create a textual representation of the GUI for convenient referencing under certain circumstances: https://gist.github.com/odigity/acdb7cad5fb04d199bf9490e256ecbd0 (Posting here because there's no forum for ...
by korrupt78
Wed Feb 12, 2020 10:20 pm
Forum: Extract
Topic: [Guide] Extraction - A Workflow
Replies: 47
Views: 99490

Re: [Guide] Extraction - A Workflow

If you're training with a mask or using Warp to Landmarks, then you need an alignments file, as stated here: https://forum.faceswap.dev/viewtopic.php?f=5&t=27#why Great, that helps. I'm just getting into learning the Manual tool now, and made a decision to figure out masks and landmarks *after* I g...
by korrupt78
Wed Feb 12, 2020 9:02 pm
Forum: Extract
Topic: manual tool - purpose of third window?
Replies: 9
Views: 1304

Re: manual tool - purpose of third window?

Arg. Problem #4. In the meantime, decided to try converting the video using the work I'd already completed in the current version of my alignments file, to see how close I am. Total fail. Almost every frame errored with something like: 02/12/2020 12:59:35 ERROR Failed to convert image: 'test_000130....
by korrupt78
Wed Feb 12, 2020 8:52 pm
Forum: Extract
Topic: [Guide] Extraction - A Workflow
Replies: 47
Views: 99490

Re: [Guide] Extraction - A Workflow

In a broad sense, a clean set of images means keeping the extracted faces you want to swap, deleting unwanted faces extracted from the video clip and also deleting any extracted objects falsely identified as faces. Was that in response to me? Not trying to be rude, but genuinely confused because it...
by korrupt78
Wed Feb 12, 2020 8:00 pm
Forum: Extract
Topic: manual tool - purpose of third window?
Replies: 9
Views: 1304

Re: manual tool - purpose of third window?

Arg. Problem #3: I just finished manually adjusting the alignment (or deleting the frame) across 900 frames (30s of video) and saved them. I then ran Extract to see the results as a set of images, and there's where I found surprises. For example, when I'm in the Manual tool, if I'm looking at frame ...
by korrupt78
Wed Feb 12, 2020 7:36 pm
Forum: Extract
Topic: manual tool - purpose of third window?
Replies: 9
Views: 1304

Re: manual tool - purpose of third window?

Still working on my first video (900 frames), realigned most of them manually already, but there are about a dozen that for some reason I can't make work. Where ever on the face I click, the bounding box ends up being much smaller than I need. In 98% of cases I click around the mouth/nose area and i...
by korrupt78
Wed Feb 12, 2020 7:22 pm
Forum: Extract
Topic: manual tool - purpose of third window?
Replies: 9
Views: 1304

manual tool - purpose of third window?

Finally trying out the GUI in order to learn how to improve alignments for conversion, based on the guide in this subforum. I figured out how to navigate, adjust bounding boxes, and save, which is great - but I'm confused about the purpose of the third window. What I mean is, when I run the manual t...
by korrupt78
Wed Feb 12, 2020 6:59 pm
Forum: Extract
Topic: [Guide] Extraction - A Workflow
Replies: 47
Views: 99490

Re: [Guide] Extraction - A Workflow

I'm confused: What's the purpose of merging alignment files when merging training sets given that alignment files aren't actually used during training?
by korrupt78
Tue Feb 11, 2020 5:37 pm
Forum: Artificial Intelligence
Topic: tattoo removal? GANs?
Replies: 6
Views: 1742

Re: tattoo removal? GANs?

faceswap(real1,real2) = identity swapping
faceswap(real1,fake1) = ethical identity hiding

Imagine being able to vlog or stream about sensitive political topics with the full range of human facial expressions but without showing your face.