mirror of
https://github.com/iperov/DeepFaceLab.git
synced 2025-08-20 13:33:24 -07:00
fix bug
This commit is contained in:
parent
41ff5b0588
commit
3f27107eaf
1 changed files with 1 additions and 1 deletions
|
@ -580,7 +580,7 @@ Examples: df, liae, df-d, df-ud, liae-ud, ...
|
||||||
x = tf.cast(x, tf.float32)
|
x = tf.cast(x, tf.float32)
|
||||||
x = tf.math.scalar_mul(1-smoothing, x)
|
x = tf.math.scalar_mul(1-smoothing, x)
|
||||||
# x = x + (smoothing/num_labels)
|
# x = x + (smoothing/num_labels)
|
||||||
x = tf.reshape(x, (self.batch_size,) + tensor.shape[1:])
|
x = tf.reshape(x, (self.batch_size,) + tensor.shape.as_list()[1:])
|
||||||
return x
|
return x
|
||||||
|
|
||||||
smoothing = self.options['gan_smoothing']
|
smoothing = self.options['gan_smoothing']
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue