Skip to content

fix: typo in PerceptualLoss MedicalNet warning message #8923

Description

@rtmalikian

Problem

In monai/losses/perceptual.py line 115, the warning message for MedicalNet channel_wise has a typo:

warnings.warn(
    "MedicalNet networks supp, ort channel-wise loss. Consider setting channel_wise=True.", stacklevel=2
)

supp, ort should be support.

Proposed Fix

Correct the typo: "MedicalNet networks support channel-wise loss. Consider setting channel_wise=True."

Affected Files

  • monai/losses/perceptual.py (line 115)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions