I've tried running the extraction with both images and short clips. Running on an anaconda virtual environment, OSX with Radeon 580 eGPU and am receiving the below critical error when it would appear that the process is almost complete. Could anybody advise on what I am doing wrong?
Loading...
Setting Faceswap backend to AMD
04/21/2020 14:26:46 INFO Log level set to: INFO
04/21/2020 14:26:46 INFO Setting up for PlaidML
04/21/2020 14:26:46 INFO Setting GPU to largest available experimental device. If you want to override this selection, run plaidml-setup
from the command line.
04/21/2020 14:26:46 INFO Using GPU: ['opencl_amd_radeon_pro_580_compute_engine.0']
04/21/2020 14:26:46 INFO Successfully set up for PlaidML
04/21/2020 14:26:51 INFO Output Directory: /Volumes/NewVolume/Develop/Deepfake/data_dst
04/21/2020 14:26:58 INFO Loading Detect from S3Fd plugin...
04/21/2020 14:26:58 INFO Loading Align from Fan plugin...
04/21/2020 14:26:58 INFO Loading Mask from Vgg_Clear plugin...
04/21/2020 14:26:58 INFO Loading Mask from Components plugin...
04/21/2020 14:26:58 INFO Loading Mask from Extended plugin...
04/21/2020 14:26:58 INFO Starting, this may take a while...
04/21/2020 14:26:58 INFO Initializing S3FD (Detect)...
04/21/2020 14:26:58 INFO Opening device "opencl_amd_radeon_pro_580_compute_engine.0"
04/21/2020 14:26:58 INFO Initialized S3FD (Detect) with batchsize of 4
/Users/Vince/faceswap/plugins/extract/detect/s3fd.py:253: RuntimeWarning: invalid value encountered in greater
poss = zip(np.where(ocls[:, 1, :, :] > 0.05))
/Users/Vince/faceswap/plugins/extract/detect/s3fd.py:286: RuntimeWarning: overflow encountered in exp
priors[:, 2:] * np.exp(loc[:, 2:] * variances[1])), axis=1)
/Users/Vince/faceswap/plugins/extract/detect/s3fd.py:288: RuntimeWarning: invalid value encountered in add
boxes[:, 2:] += boxes[:, :2]
/Users/Vince/faceswap/plugins/extract/detect/s3fd.py:308: RuntimeWarning: invalid value encountered in greater
overlapping_boxes = (iou > threshold).nonzero()[0]
/Users/Vince/faceswap/plugins/extract/detect/s3fd.py:315: RuntimeWarning: invalid value encountered in less_equal
non_overlapping_boxes = (iou <= threshold).nonzero()[0]
Traceback (most recent call last):
File "/Users/Vince/faceswap/lib/cli.py", line 128, in execute_script
process.process()
File "/Users/Vince/faceswap/scripts/extract.py", line 114, in process
self._run_extraction()
File "/Users/Vince/faceswap/scripts/extract.py", line 210, in run_extraction
for idx, extract_media in enumerate(status_bar):
File "/Users/Vince/opt/anaconda3/envs/faceswap/lib/python3.7/site-packages/tqdm/std.py", line 1119, in iter
for obj in iterable:
File "/Users/Vince/faceswap/plugins/extract/pipeline.py", line 228, in detected_faces
if self.check_and_raise_error():
File "/Users/Vince/faceswap/plugins/extract/pipeline.py", line 647, in check_and_raise_error
if plugin.check_and_raise_error():
File "/Users/Vince/faceswap/plugins/extract/base.py", line 300, in check_and_raise_error
err = thread.check_and_raise_error()
File "/Users/Vince/faceswap/lib/multithreading.py", line 84, in check_and_raise_error
raise error[1].with_traceback(error[2])
File "/Users/Vince/faceswap/lib/multithreading.py", line 37, in run
self.target(self.args, **self.kwargs)
File "/Users/Vince/faceswap/plugins/extract/base.py", line 433, in thread_process
for item in self.finalize(batch):
File "/Users/Vince/faceswap/plugins/extract/detect/base.py", line 158, in finalize
for faces in batch["prediction"]]
File "/Users/Vince/faceswap/plugins/extract/detect/base.py", line 158, in <listcomp>
for faces in batch["prediction"]]
File "/Users/Vince/faceswap/plugins/extract/detect/base.py", line 157, in <listcomp>
for face in faces]
File "/Users/Vince/faceswap/plugins/extract/detect/_base.py", line 193, in to_detected_face
return DetectedFace(x=int(round(left)),
OverflowError: cannot convert float infinity to integer
04/21/2020 14:58:54 CRITICAL An unexpected crash has occurred. Crash report written to '/Users/Vince/faceswap/crash_report.2020.04.21.145854373942.log'. You MUST provide this file if seeking assistance. Please verify you are running the latest version of faceswap before reporting
Process exited.