MIC-DKFZ / nnDetection

nnDetection is a self-configuring framework for 3D (volumetric) medical object detection which can be applied to new data sets without manual intervention. It includes guides for 12 data sets that were used to develop and evaluate the performance of the proposed method.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Question] Soft positive label or label smoothing

xuelicheng1992 opened this issue · comments

❓ Question

Hello,
I am considering experimenting with the use of soft labels or label smoothing. Because the possibility of some labels in my training data not being strictly correct。
Please tell me which part of the code I need to make modifications.

Soft labels are not supported in nnDetection and would require significant changes in the planning and evaluations stage. It might be possible to adapt the IO (dataloader) classs to manually load softlabels besides the normal labels for training purposes. There only the ptmodule would need some updates.

Using label smoothing should be straight forward since only a modification in the loss is necessary.

Note however that wrong labels have more repercussions than one might think, e.g. focal loss and hard negative mining will apply high weights to false negative predictions. Ensuring the highest possible label quality is essential to guarantee stable training and achieving the best possible results.

Best,
Michael

Thank you for the reply!