Search found 2669 matches

by torzdf
Thu Nov 09, 2023 12:16 am
Forum: Training Support
Topic: Models in different GPU/CPU
Replies: 3
Views: 14142

Re: Models in different GPU/CPU

This is an "Out of Memory" error. If it worked before and doesn't now, then most likely something is taking precious VRAM away from your GPU (Google Chrome can be bad for this, also games etc.)

You should try following the steps listed in the error message output.

by torzdf
Wed Nov 08, 2023 11:24 pm
Forum: General Discussion
Topic: Size of faces in B-side video source
Replies: 4
Views: 8282

Re: Size of faces in B-side video source

<- This means enlarging B's face, right? You don't need to enlarge it, no. But you are correct that the face will be enlarged (or shrunk) to the correct size to fit in the final frame. The size of the model output is uniform (be that 128px, 256px, 512px etc.) The size of any face in a frame could b...
by torzdf
Wed Nov 08, 2023 11:19 pm
Forum: Installation Support
Topic: Stuck on loading screen
Replies: 11
Views: 15659

Re: Stuck on loading screen

I'm not sure I fully understand your problem. The first thing I would suggest, though, is following these steps as it solves 90% of issues: https://forum.faceswap.dev/app.php/faqpage#f1r1 If this doesn't fix this issue, then please can you provide me with more detail about your setup (OS, GPU etc) a...
by torzdf
Wed Nov 08, 2023 11:16 pm
Forum: Convert Support
Topic: During conversion, "No alignment found for xxxxx.png, skipping" only on some video files
Replies: 3
Views: 8878

Re: During conversion, "No alignment found for xxxxx.png, skipping" only on some video files

Unfortunately (or fortunately?) I have never seen this issue before.

I would only be able to investigate with a copy of the video and alignments file. If this is something you can share, you are welcome to DM me with a link.

by torzdf
Tue Nov 07, 2023 12:03 pm
Forum: General Discussion
Topic: Size of faces in B-side video source
Replies: 4
Views: 8282

Re: Size of faces in B-side video source

If I understand correctly, I think you are talking about applying a 256px face on high resolution close-ups? You are correct that close ups like these won't work as well as the face needs to be enlarged to fit into the frame. However, it is hard to say how much this will matter to you, and how bad i...
by torzdf
Tue Nov 07, 2023 11:53 am
Forum: Training Support
Topic: What is "libpng error: Read Error"?
Replies: 1
Views: 6496

Re: What is "libpng error: Read Error"?

Don't worry about it (the short answer) The slightly longer answer: I'm not 100% sure where this comes from, but I think it comes from the preview image in the GUI. Most likely when the process tries to read a preview image when it hasn't yet been fully saved. The message itself is not something I c...
by torzdf
Mon Nov 06, 2023 12:49 pm
Forum: Training Support
Topic: GPU don't work when program aren't started in anaconda
Replies: 1
Views: 5450

Re: GPU don't work when program aren't started in anaconda

The reason is that the Conda environment needs to be activated. Just referencing the correct python library is not enough. When the Conda environment is activated, some other actions are also executed, which means that Faceswap can find the Cuda/cuDNN libraries stored within the environment. If you ...
by torzdf
Mon Nov 06, 2023 12:42 pm
Forum: Training Discussion
Topic: When using the preset stojo file in Phaze-A, the error is reported
Replies: 6
Views: 7828

Re: When using the preset stojo file in Phaze-A, the error is reported

I believe it works if you use Mixed Precision. The issue comes when switching from mixed precision to full precision. When you start a new model at full precision, Mixed Precision is activated (as we need to store which layers are compatible with Mixed Precision and this is the only way to do it). W...
by torzdf
Fri Nov 03, 2023 1:24 pm
Forum: Training Discussion
Topic: When using the preset stojo file in Phaze-A, the error is reported
Replies: 6
Views: 7828

Re: When using the preset stojo file in Phaze-A, the error is reported

Yes, unfortunately that advice on earlier version of TF is now out dated.

What I advise is:

  • load the StoJo preset
  • switch the Encoder to EfficientNetV2-S

This should work fine without needing to adjust encoder scaling (make sure you are creating a new model and not resuming an existing one)

by torzdf
Fri Nov 03, 2023 1:18 pm
Forum: Training Support
Topic: What's a reasonable speed? Also, error message
Replies: 1
Views: 5553

Re: What's a reasonable speed? Also, error message

Those message are standard, as we have to store mixed-precision compatible layers at start up. As it looks like you are using Apple Silicon, then that message is expected. I can't speak for speed, as I don't have an Apple computer, however, if you run training with VERBOSE logging, it should tell yo...
by torzdf
Fri Nov 03, 2023 1:14 pm
Forum: Extract Discussion
Topic: My way of creating good training set
Replies: 11
Views: 10039

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 optio...
by torzdf
Wed Nov 01, 2023 2:21 am
Forum: Training Discussion
Topic: Location of “forward pass” and/or Where to implement a Custom Training Loop
Replies: 6
Views: 6838

Re: Location of “forward pass” and/or Where to implement a Custom Training Loop

Please do. The training 'plugin' is not really a plugin per-se.... It is just structured in a way that I can split out for new plugins etc. in future. None of the work has actually been done, because I wouldn't like to guess at what would/would not be useful, but the architecture is built in a manne...
by torzdf
Wed Nov 01, 2023 12:47 am
Forum: Training Discussion
Topic: Location of “forward pass” and/or Where to implement a Custom Training Loop
Replies: 6
Views: 6838

Re: Location of “forward pass” and/or Where to implement a Custom Training Loop

Thanks for the prompt reply. I think I need to do some more reading first to make sure I’m not missing anything :) . There seems to be an implicit flow that I’m not quite seeing just yet. Not that there’s any actual faceswap reason to do something like this, but from a coding perspective, it doesn’...
by torzdf
Tue Oct 31, 2023 11:59 pm
Forum: Training Discussion
Topic: Location of “forward pass” and/or Where to implement a Custom Training Loop
Replies: 6
Views: 6838

Re: Location of “forward pass” and/or Where to implement a Custom Training Loop

I would add to this... We would very much welcome new models. We are not too fussy as long as it ultimately works ;) I would add the following for creating models: I would recommend looking at the Original (and maybe IAE) model layouts, as they will be the easiest to understand how the models get de...
by torzdf
Sun Oct 29, 2023 1:16 pm
Forum: Extract Discussion
Topic: [Guide] Extraction - A Workflow
Replies: 78
Views: 938215

Re: [Guide] Extraction - A Workflow

1: After completing the steps of Clean the Alignments File, can I start training? Yes. that should be fine 2: Manually Fix Alignments It looks like I have rewritten the process of extracting alignment files again? So, when I execute Manually Fix Alignments, is the .fsa file I use just extracted usi...
by torzdf
Sun Oct 29, 2023 1:12 pm
Forum: Training Support
Topic: Models in different GPU/CPU
Replies: 3
Views: 14142

Re: Models in different GPU/CPU

So, assuming you install Faceswap using the old (deprecated) AMD PlaidML backend, then the models created will not be compatible with either the Nvidia or the CPU version. Unfortunately there is no way around that. The Nvidia/CPU versions used Tensorflow as the backend. The AMD version used PlaidML ...
by torzdf
Fri Oct 27, 2023 10:31 am
Forum: Extract Support
Topic: Mask editor bug? Zoom in-out discrepancies
Replies: 5
Views: 10732

Re: Mask editor bug? Zoom in-out discrepancies

Thanks for the update. I will still look into this when I have time, because it does not sound like it is working as expected. I've just been a bit short on time lately. There may be a bug with 'missing' in the mask tool not working correctly, so I will look into that too. Will update if/when I get ...
by torzdf
Tue Oct 24, 2023 10:49 pm
Forum: Extract Support
Topic: Mask editor bug? Zoom in-out discrepancies
Replies: 5
Views: 10732

Re: Mask editor bug? Zoom in-out discrepancies

PM'd you a screen recording, google drive link. Though it seems to be lingering in the outbox. Just means I haven't picked it up yet. Most likely I will do tomorrow. Update: I notice that in some cases, magnifying the view changes the green square framing. (Not just rotating so it's upright, but th...
by torzdf
Mon Oct 23, 2023 10:31 am
Forum: Extract Support
Topic: Mask editor bug? Zoom in-out discrepancies
Replies: 5
Views: 10732

Re: Mask editor bug? Zoom in-out discrepancies

I've not seen this. Are you able to post a short video/screengrabs to show what you mean?