issues related to resolution at which nnDetection training is to be carried out
DSRajesh opened this issue · comments
Hello
- How is the resolution at which nnDetection models that are trained obtained ? Is it the median spacing in the dataset.
- Will choosing the median spacing be adverse ? (We have a lot of ground truth data including data from scanners as far back as 15 years. This would make the median resolution fairly coarser than what current scanners are capable of). In other words inference on newer generation data will effectively downsample it to the median (coarser) spacing and detection is done at coarser resolution than the data that was acquired ?
- How can we specify a custom resolution instead of the median ?
Thanking you
Rajesh D S
Dear @DSRajesh ,
(1) yes, the spacing is the median spacing of the dataset
(2) the implicit assumption in nnDetection/nnU-Net (and general ML) is that your training data reflects your inference/testing data, otherwise you have a distribution shift / domain gap. If you assume that the model is primarily applied to new images (with smaller spacing) it would make sense to use a different rule/manually set the spacing to reduce the domain gap between training and testing. In general, one might need to check how beneficial the old data actually is for the training and if it helps with newer data as well.
(3) You can set the target spacing manually here:
nnDetection/nndet/planning/experiment/v001.py
Lines 125 to 184 in b2e0e48
Best,
Michael
This issue is stale because it has been open for 30 days with no activity.
This issue was closed because it has been inactive for 14 days since being marked as stale.