Skip to content

Question about the multi-task loss? #2

@huangxGo

Description

@huangxGo

Hello!Thanks for this nice work!
I think there is a little different between the code of multi-task loss and the formula in the original paper.
In the paper, the weight of each task should be:
w = torch.exp(-s^2)
However, in this line of code

w = torch.exp(-s) # weighting (class.)

w = torch.exp(-s)
Could you tell me why?
Best regards!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions