This forum is for reporting errors with the Extraction process. If you want to get tips, or better understand the Extract process, then you should look in the Extract Discussion forum.
Please mark any answers that fixed your problems so others can find the solutions.
The process seems to work correctly but just for one image wherever the image input folder is. This is whether the folder has 2 images or 200. OS is Windows 7 and card is AMD Radeon HD 6700. Example output:
Loading...
Setting Faceswap backend to AMD
04/26/2020 13:30:55 INFO Log level set to: INFO
04/26/2020 13:30:55 INFO Setting up for PlaidML
04/26/2020 13:30:55 INFO Setting GPU to largest available experimental device. If you want to override this selection, run `plaidml-setup` from the command line.
04/26/2020 13:30:55 INFO Using GPU: ['opencl_amd_juniper.0']
04/26/2020 13:30:55 INFO Successfully set up for PlaidML
04/26/2020 13:30:58 INFO Output Directory: [folder]
04/26/2020 13:30:58 INFO Loading Detect from S3Fd plugin...
Using plaidml.keras.backend backend.
04/26/2020 13:30:58 INFO Loading Align from Fan plugin...
04/26/2020 13:30:58 INFO Loading Mask from Components plugin...
04/26/2020 13:30:58 INFO Loading Mask from Extended plugin...
04/26/2020 13:30:58 INFO Starting, this may take a while...
04/26/2020 13:30:58 INFO Initializing S3FD (Detect)...
04/26/2020 13:30:58 INFO Opening device "opencl_amd_juniper.0"
04/26/2020 13:31:00 INFO Initialized S3FD (Detect) with batchsize of 4
04/26/2020 13:31:13 INFO Initializing FAN (Align)...
04/26/2020 13:31:20 INFO Analyzing Ops: 1200 of 3641 operations complete
04/26/2020 13:31:22 INFO Analyzing Ops: 2848 of 3641 operations complete
04/26/2020 13:31:57 INFO Initialized FAN (Align) with batchsize of 12
04/26/2020 13:32:02 INFO Analyzing Ops: 3227 of 3641 operations complete
04/26/2020 13:32:15 INFO Initializing Components (Mask)...
04/26/2020 13:32:15 INFO Initialized Components (Mask) with batchsize of 1
04/26/2020 13:32:15 INFO Initializing Extended (Mask)...
04/26/2020 13:32:15 INFO Initialized Extended (Mask) with batchsize of 1
04/26/2020 13:32:15 INFO Writing alignments to: '[folder]\alignments.fsa'
04/26/2020 13:32:15 INFO -------------------------
04/26/2020 13:32:15 INFO Images found: 1
04/26/2020 13:32:15 INFO Faces detected: 1
04/26/2020 13:32:15 INFO -------------------------
04/26/2020 13:32:15 INFO Process Succesfully Completed. Shutting Down...
Process exited.
Settings are ones I think should work
Detector - S3FD
Aligner - Fan
Normalization - None
Min size - 20
Ref threshold - 0.4
Extract every N - 15
Size - 256
I looked for a similar topic in the search already. Ideas on this?
This is saying that only one image is found. If you're certain more than one image is in the folder that you're passing, please turn up logging (Debug SHOULD be sufficient) and send us the faceswap.log file from the faceswap folder immediately after you run into this issue. We can look at that for more information to debug.
I now understand the mentioned 12-25 range seems to be for video files. The display driver crashes anytime it finds more than 1 image. End of log file:
Your card only has 1GB of VRAM and you are running out of memory. You can try to lower the batchsize for all detectors/aligners to 1 (Settings > Extract plugins).
Realistically, though, you aren't going to be able to run Faceswap on that card, as the minimum requirement is 2GB (and that may not be correct for AMD).