Skip to content

Incoherent logged val/iou value despite coherent confusion matrix and per-class IoUs when training model in DDP #122

Description

@CharlesGaydon

Observed in DDP mode with 2x3 GPUs (not tested on single node training).

This is surprising, because the per-class IoUs are computed with a bespoke method from the confusion matrix of the MultiClassJaccardIndex object that computes mean IoU

self.log("val/iou", iou_epoch, on_step=False, on_epoch=True, prog_bar=True)

Mean IoU:
image

Per-class:
image

Might be linked to #108

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    invalidThis doesn't seem right

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions