
--- model/Discriminator.py
+++ model/Discriminator.py
... | ... | @@ -31,9 +31,9 @@ |
31 | 31 |
|
32 | 32 |
# Inference function |
33 | 33 |
ret = self.forward(real_clean) |
34 |
- fc_out_o, attention_mask_o, fc2_o = ret["fc_out"], ret["attention_map"] , ret["fc_raw"] |
|
34 |
+ fc_out_o, attention_mask_o, fc2_o = ret["fc_out"], ret["attention_map"], ret["fc_raw"] |
|
35 | 35 |
ret = self.forward(label_tensor) |
36 |
- fc_out_r, attention_mask_r, fc2_r = ret["fc_out"], ret["attention_map"] , ret["fc_raw"] |
|
36 |
+ fc_out_r, attention_mask_r, fc2_r = ret["fc_out"], ret["attention_map"], ret["fc_raw"] |
|
37 | 37 |
|
38 | 38 |
l_map = F.mse_loss(attention_map, attention_mask_o) + \ |
39 | 39 |
F.mse_loss(attention_mask_r, zeros_mask) |
Add a comment
Delete comment
Once you delete this comment, you won't be able to recover it. Are you sure you want to delete this comment?