chenxie95 / deeplearning_course_sjtu

14 stars 2 forks source link

SED的Score计算部分 #25

Open BravoFr0st opened 2 years ago

BravoFr0st commented 2 years ago

前期几个Epoch经常出现

/dssg/home/acct-stu/stu469/.conda/envs/pytorch-sed/lib/python3.9/site-packages/sklearn/metrics/_classification.py:1318: UndefinedMetricWarning: Precision and F-score are ill-defined and being set to 0.0 in labels with no predicted samples. Use `zero_division` parameter to control this behavior.

这是正常的吗?

wsntxxn commented 2 years ago

正常,如 warning 所说,有些类在整个 validation 集上都没有预测出现过,因为前几个 epoch 模型效果还比较差