Skip to content

训练过程DICE与IOU全0 #41

Open

Description

@maaaark-creator

[2026-04-09 18:39:07 finetune/Seg/B_mode/SegVit/USFM](seg_trainer.py 196): INFO Train: [2/400][292/293] eta 0:00:00 lr 0.000001 time 0.8744 (0.8863) loss 1.5992 (1.5936) DICE 0.000 (0.000) IOU nan (0.000) grad_norm 4.6140 (2.9766) mem 8129MB

想请问一下threhold的设定是固定的吗,为什么训练过程中的dice始终是0

但是test的dice是有结果的,但是这个结果始终是第一个epoch的结果,请问是为什么,谢谢

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions