alan-turing-institute / affinity-vae

Self-supervised method for disentanglement, clustering and classification of objects in multidimensional image data
BSD 3-Clause "New" or "Revised" License
13 stars 7 forks source link

Affinity error in evaluation mode #274

Closed marjanfamili closed 6 months ago

marjanfamili commented 10 months ago

logging.exception("An exception was thrown!", e) Message: 'An exception was thrown!' Arguments: (RuntimeError("Affinity matrix is needed to compute Affinity loss. Although you've set gamma, you have not provided --af/--affinity parameter."),)

Should this error be produced in evaluation mode?

crangelsmith commented 6 months ago

I can't reproduce this error, it should have been fixed.