SPT icon indicating copy to clipboard operation
SPT copied to clipboard

JOSNDatasets.get_class_weights

Open LecongXiong opened this issue 6 months ago • 1 comments

https://github.com/ziplab/SPT/blob/e385f67ef0cba524b44072d52ec0650a7022f4e2/lib/datasets.py#L147 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? https://github.com/ziplab/SPT/blob/e385f67ef0cba524b44072d52ec0650a7022f4e2/lib/datasets.py#L179 thank you in advance

LecongXiong avatar Aug 26 '24 09:08 LecongXiong