theislab / multimil

Multimodal weakly supervised learning to identify disease-specific changes in single-cell atlases
https://multimil.rtfd.io/
BSD 3-Clause "New" or "Revised" License
18 stars 3 forks source link

Fix bug in Cycle Consistency loss calculation #29

Closed awakeenderman closed 3 years ago

awakeenderman commented 3 years ago

The cycle consistency should be calculated as follows:

  1. x_i -> z_i
  2. z_i -> z_ij
  3. z_ij -> x_ij
  4. x_ij -> z'_ij -> z_iji
  5. z_iji -> x_iji
  6. Compare x_i and x_iji
alitinet commented 3 years ago

fixed