x + log(1+exp(-y+x)) = -x + 6.1441934777474324e-06įor the denominator you could proceed similarly but obtain that log(1+exp(-z+k)) is already rounded to 0, so that the argument of the exponential function at the denominator is simply rounded to -z=-3000. We have that for the numerator: exp(-x)+exp(-y) = exp(log(exp(-x)+exp(-y)))
Invalid value encountered in double_scalars how to#
Here I explain how to do some math manipulation that helps on this problem.
16:03:22 INFO Initializing Extended (Mask). 16:03:22 INFO Initialized Components (Mask) with batchsize of 1 16:03:22 INFO Initializing Components (Mask). 16:03:22 INFO Initialized FAN (Align) with batchsize of 19 15:48:47 INFO Initializing FAN (Align).Ĭ:\Users\Howard\faceswap\plugins\extract\detect\s3fd.py:496: RuntimeWarning: invalid value encountered in greater 15:48:47 INFO Initialized S3FD (Detect) with batchsize of 20
15:44:44 INFO Initializing S3FD (Detect). 15:44:44 INFO Starting, this may take a while. 15:44:44 INFO Reset batch sizes due to available VRAM: Detect: 20, Align: 19, Mask: 2 15:43:50 INFO Downloading model: 'Nirkin_500_softmax' from: 15:43:50 INFO Loading Mask from Vgg_Obstructed plugin. 15:43:50 INFO Loading Mask from Extended plugin. 15:43:50 INFO Loading Mask from Components plugin. 15:43:49 INFO Extracting: 'face-alignment-network_2d4_keras' 15:43:20 INFO Downloading model: 'face-alignment-network_2d4_keras' from: 15:43:20 INFO Loading Align from Fan plugin. 15:43:15 INFO Downloading model: 's3fd_keras' from: 15:43:15 INFO Loading Detect from S3Fd plugin.
15:43:15 INFO Output Directory: D:\Faceswap Images\jalimika src