Skip to content

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

@CharlesGaydon

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

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