Closed berkuva closed 10 months ago
In version 1.1.8
, index_s
in APLoss refers to the indices for positive samples. However, we don't conduct positive indexing inside the training loop but integrate it with the loss function. You can find this operation in the code of APLoss_SH
class.
posNum
refers to the number of positive samples in each min-batch (for training data), which is a parameter to control the sampler
function. For testing set, we don't resampling data.
Hi @yzhuoning et al.,
Thx for ur great work. I noticed in the tutorial notebook u provided for SOAP
and APLoss
, it seems the method suffers from severe overfitting, i.e., test AP changes little starting from the beginning and even decreases. May I know if it is a bug? Or I may miss sth.
Looking forward to ur response.
Thx & regards,
This is possible especially when you have a small-scale but highly skewed dataset. To alleviate this issue, model selection (e.g., early stopping) could be used. Thanks!
If you have any other questions, please let us know.
What does the parameter
index_s
for APLoss_SH indicate?Does
posNum
indicate the number of positive samples in each batch, training data, or all data?