mirror of
https://github.com/iperov/DeepFaceLab.git
synced 2025-07-06 04:52:13 -07:00
revert
This commit is contained in:
parent
af0b3904fc
commit
93fe480eca
1 changed files with 1 additions and 3 deletions
|
@ -95,8 +95,6 @@ class XSegModel(ModelBase):
|
|||
gpu_pred_list.append(gpu_pred_t)
|
||||
|
||||
gpu_loss = tf.reduce_mean( tf.nn.sigmoid_cross_entropy_with_logits(labels=gpu_target_t, logits=gpu_pred_logits_t), axis=[1,2,3])
|
||||
gpu_loss += tf.reduce_mean ( 0.1*nn.dssim(gpu_target_t, gpu_pred_logits_t, max_val=1.0, filter_size=3), axis=[1])
|
||||
|
||||
|
||||
gpu_losses += [gpu_loss]
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue