[Python] Tensorflow loss function using both image and masks?

Discussão em 'Python' iniciado por Stack, Junho 20, 2025.

  1. Stack

    Stack Membro Participativo

    I am trying to train an image segmentation network. I want to make a custom loss that apart from y_true (ground truth mask) and y_pred (predicted mask), it will be based also on the grayscale image (of the current training image/batch).

    How can I do that?

    I have not tried any code.

    Continue reading...

Compartilhe esta Página