diff options
author | Jordan Gong <jordan.gong@protonmail.com> | 2021-02-20 14:45:47 +0800 |
---|---|---|
committer | Jordan Gong <jordan.gong@protonmail.com> | 2021-02-20 14:45:47 +0800 |
commit | 4661b1966d108c40c78ed5afbc9837108be845eb (patch) | |
tree | 9b620f0bc29f49885bb401a2c1755601b3fbb67f /models/auto_encoder.py | |
parent | c6bff0a8350da4f4d42b6d17052c8fae37633237 (diff) | |
parent | c538919cb69e35a46811aef0b23baefe6a4c499c (diff) |
Merge branch 'python3.8' into python3.7
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 e17caed..6f388c2 100644 --- a/models/auto_encoder.py +++ b/models/auto_encoder.py @@ -173,7 +173,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_ |