kiva12138 / MITRL

Modality-Invariant Temporal Representation Learning

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error funtion: make_weights_for_balanced_classes

JackAILab opened this issue · comments

Dear author,

I find that the function make_weights_for_balanced_classes you used in Utils.py seems to be wrong.

image

the count will get zero value
image

how to correctly solve this problem? I am looking forward to your early reply! Thank you a lot!

commented

I have fixed this bug. In line 227, a non-zero judgement should be appened.