Skip to content

JOSNDatasets.get_class_weights #7

@LecongXiong

Description

@LecongXiong

self._class_ids = sorted(list(set(anno.values())))

the line of code helps each class id appear only once in _class_ids,so what is the meaning of the following line of code?is there a problem with the code?
id2counts = Counter(self._class_ids)

thank you in advance

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions