Skip to content

Class Balanced Loss #502

@qiuqiuzyq

Description

@qiuqiuzyq

hello, when I change the the loss weight of each class as follow:

model=dict(
    decode_head=dict(
        loss_decode=dict(
            type='CrossEntropyLoss', use_sigmoid=False, loss_weight=1.0,
            class_weight=[0.9843, 1.1116, 0.9037,
                        1.0865, 1.0955, 1.0865, 1.1529, 1.0507])))

The error has occurred:
No such file :
00DACEB334799F9989AD15AF84487331
Have anyone ever had this problem?

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