Search found 633 matches

by torzdf
Wed Jul 08, 2020 9:55 am
Forum: Extract
Topic: Crash while extracting
Replies: 3
Views: 13

Re: Crash while extracting

Ok, this issue is coming from Tensorflow. You can Google around to see if you can find a solution, but I suspect it *may* be a memory error. However, it's odd, because it appears that S3FD runs, then FAN fails (and S3FD is a LOT heavier than FAN). First ensure that any GPU overclocks are disabled Tr...
by torzdf
Wed Jul 08, 2020 9:47 am
Forum: Training
Topic: Tuple index error
Replies: 5
Views: 13

Re: Tuple index error

You only have 11 faces in your "B" side.

This isn't enough to train a model (see here: app.php/faqpage#f3r0)

Either way, there are a total of 14 samples per side to show the preview. As only 11 faces are being fed in, it errors.
by torzdf
Wed Jul 08, 2020 9:42 am
Forum: Extract
Topic: Extracting multiple sources to one folder breaks remove-faces and rename
Replies: 5
Views: 22

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

That's fair enough. Like I say, I'll take another look. I can't see how this would have changed though, as the functionality hasn't been amended. Incidentally, I believe (and it's a long time since I wrote it) that the logic behind it was to avoid people accidentally pointing at the wrong faces fold...
by torzdf
Tue Jul 07, 2020 6:27 pm
Forum: Training
Topic: Tuple index error
Replies: 5
Views: 13

Re: Tuple index error

Post the latest crash report please.
by torzdf
Tue Jul 07, 2020 9:33 am
Forum: Training
Topic: Tuple index error
Replies: 5
Views: 13

Re: Tuple index error

It looks like you are not training on extracted faces:

The contents of D:\Downloads\fs\fs2 should be faces extracted at the extract stage:
viewtopic.php?f=5&t=27
by torzdf
Tue Jul 07, 2020 9:27 am
Forum: Extract
Topic: Crash while extracting
Replies: 3
Views: 13

Re: Crash while extracting

You can open the file and paste the contents into a message, or onto a site like pastebin and link it here.
by torzdf
Tue Jul 07, 2020 9:26 am
Forum: Extract
Topic: Extracting multiple sources to one folder breaks remove-faces and rename
Replies: 5
Views: 22

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

Nothing has actively changed in this part of the code for quite some time. In fact I don't think I've made any changes to the alignment tool code for at least a year.... I will admit that your use case is not a use case that I ever envisaged, or used it for, but I will look into this when I get a ch...
by torzdf
Mon Jul 06, 2020 10:00 am
Forum: Extract
Topic: Re-extraction after manual tool causes missing unet-dfl masks
Replies: 1
Views: 37

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

When you manually fix the mask, any generated masks are erased (they have to be, as the masks no longer correspond to the actual face).

It's not ideal, but you can regenerate masks with the "mask" tool. If you select the mask(s) you want, select "missing" then it will fill in the gaps.
by torzdf
Sun Jul 05, 2020 9:10 am
Forum: Training
Topic: HELP !! What is the error here ? WHAT HAVE I DONE WRONG ?
Replies: 1
Views: 53

Re: HELP !! What is the error here ? WHAT HAVE I DONE WRONG ?

You can ignore the first part of the error, that's just a minor GUI display bug.

Can you hit the "Generate" button for Training and post the ouput command here?

Thanks
by torzdf
Sat Jul 04, 2020 9:39 am
Forum: Extract
Topic: cuDNN failed to initialize
Replies: 6
Views: 79

Re: cuDNN failed to initialize

Ok, if you have "allow_growth" set to True in extract settings, this should now pull through for sort by face.
by torzdf
Sat Jul 04, 2020 8:44 am
Forum: Training
Topic: application wont run on GPU, low EGs
Replies: 6
Views: 83

Re: application wont run on GPU, low EGs

You *may* be able to train the Lightweight model on that card. It is specifically written for 2GB GPU cards, but it will be dependent on what else is using the GPU. Try it with a very low batchsize (2) and if it trains, you can try upping the batchsize in increments. If it doesn't train, try memory ...
by torzdf
Sat Jul 04, 2020 8:41 am
Forum: Training
Topic: how does multi GPU training work
Replies: 1
Views: 33

Re: how does multi GPU training work

The batch is split between GPUs.

To get the benefit of multiple GPUs, you would want to up the batchsize (i.e. if you are training BS 64 on 1 GPU, you'd want to train BS 128 on 2 GPUs).
by torzdf
Sat Jul 04, 2020 8:39 am
Forum: Training
Topic: Again: Could not create cudnn handle: CUDNN_STATUS_INTERNAL_ERROR
Replies: 1
Views: 34

Re: Again: Could not create cudnn handle: CUDNN_STATUS_INTERNAL_ERROR

Most likely memory issues. Probably on the edge of what your GPU can handle, hence the error.

If other models train without this error, then I would say that is definitely the cause.

You can try Memory Saving Gradients and/or Optimizer Savings to try to fit it in VRAM.
by torzdf
Sat Jul 04, 2020 8:37 am
Forum: Extract
Topic: cuDNN failed to initialize
Replies: 6
Views: 79

Re: cuDNN failed to initialize

I will try to push an update for sort which reads the "ALLOW_GROWTH" from the extract config file.

If you don't see an update in the next 24 hours, please reply to remind me!
by torzdf
Fri Jul 03, 2020 9:05 am
Forum: Extract
Topic: cuDNN failed to initialize
Replies: 6
Views: 79

Re: cuDNN failed to initialize

The first error: Running out of system RAM. The second error: Allow Growth issue + ran out of system RAM The 3rd error: Allow Growth issue. Unfortunately we do not have an "allow growth" option for sort, but you can still enable it by setting an environment variable. See here: https://forum.faceswap...
by torzdf
Thu Jul 02, 2020 7:08 am
Forum: Extract
Topic: Face filter or NFilter files downloaded/decompressed but nothing happens after that
Replies: 1
Views: 76

Re: Face filter or NFilter files downloaded/decompressed but nothing happens after that

filter/nfilter is slow and not recommended. It's better to use "sort by face" afterwards.

This may be a bug, or it could have just hung for some reason.
by torzdf
Tue Jun 30, 2020 9:49 am
Forum: General Chat
Topic: A new error while extracting.
Replies: 1
Views: 85

Re: A new error while extracting.

This is just a GUI display bug where it tries to delete an object which doesn't exist.

It doesn't effect the running of the program, so hasn't been prioritized for finding.
by torzdf
Sat Jun 27, 2020 11:15 am
Forum: Extract
Topic: [Crash] ValueError: negative dimensions are not allowed
Replies: 3
Views: 74

Re: [Crash] ValueError: negative dimensions are not allowed

Not really. The error reports are just a debug log output at the point of failure + some system information.

Generally it''s a question of looking at the Traceback and then working backwards to see what would have caused it to fail.
by torzdf
Sat Jun 27, 2020 11:13 am
Forum: Training
Topic: Number of Photo
Replies: 3
Views: 140

Re: Number of Photo

I haven't seen this before, It won't be anything specifically Faceswap, but some of the upstream libraries we use may be creating temporary files on the c drive?