diff options
author | Jordan Gong <jordan.gong@protonmail.com> | 2021-02-20 14:26:31 +0800 |
---|---|---|
committer | Jordan Gong <jordan.gong@protonmail.com> | 2021-02-20 14:29:31 +0800 |
commit | 850c525772969823eef6083e8018ac43a1e87e4c (patch) | |
tree | 16f1d48561dead30d31ab2b72918fb1e9fef5665 /models/auto_encoder.py | |
parent | a31eb135c8cc3a8737fabca54fe3d5791f293753 (diff) | |
parent | 50eedae4f320c446544772fb2b0abcbce1be7590 (diff) |
Merge branch 'master' into data_parallel
# Conflicts:
# models/model.py
Diffstat (limited to 'models/auto_encoder.py')
-rw-r--r-- | models/auto_encoder.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/models/auto_encoder.py b/models/auto_encoder.py index 2d715db..1ef7494 100644 --- a/models/auto_encoder.py +++ b/models/auto_encoder.py @@ -171,7 +171,7 @@ class AutoEncoder(nn.Module): return ( (f_a_c1_t2_, f_c_c1_t2_, f_p_c1_t2_), - (xrecon_loss, cano_cons_loss, pose_sim_loss * 10) + torch.stack((xrecon_loss, cano_cons_loss, pose_sim_loss * 10)) ) else: # evaluating return f_c_c1_t2_, f_p_c1_t2_ |