Skip to content

How to set weights for different classes #30

Description

@ywlng

How do you set the weights for different classes when calculating loss? I train the model using the weights I give. But the model still learn the detect the background. Can you introduce the method you use?

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions