You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
Is there any reason for masking the negative labels? As far as I know there is no mention in the documentation that the labels must be positive, neither in the presentation slides.
Negative labels have a semantic significance in my use case and the metrics and losses I am using are still mathematically valid for negative values.
For now I am bypassing the constraint with a ugly patch: tfr.utils.is_label_valid = lambda labels: tf.ones_like(labels, dtype=tf.bool)
maybe there is a better solution?
The text was updated successfully, but these errors were encountered:
Hi,
Is there any reason for masking the negative labels? As far as I know there is no mention in the documentation that the labels must be positive, neither in the presentation slides.
Negative labels have a semantic significance in my use case and the metrics and losses I am using are still mathematically valid for negative values.
For now I am bypassing the constraint with a ugly patch:
tfr.utils.is_label_valid = lambda labels: tf.ones_like(labels, dtype=tf.bool)
maybe there is a better solution?
The text was updated successfully, but these errors were encountered: