RazvanDu / DUCK-Net

Using DUCK-Net for polyp image segmentation. ( Nature Scientific Reports 2023 )
Creative Commons Attribution 4.0 International
99 stars 26 forks source link

result #10

Closed wyfsmn closed 8 months ago

wyfsmn commented 8 months ago

In the CVC Colondb dataset, the obtained dice_ Test: 0.8902772313306522, why does it differ so much from the results in the paper

RazvanDu commented 8 months ago

Did you use the weights we provided for the model?

wyfsmn commented 8 months ago

Is it not possible to achieve the effect of the paper without weights, and will it be much worse?

RazvanDu commented 8 months ago

It is certainly possible but if you expect to get the same results as we did you have to use our settings and our data set split.

wyfsmn commented 8 months ago

cvc-colondb dice_train: 0.9314982832549971 dice_valid: 0.9496475459978354 dice_test: 0.8709802621263646 What is the reason why the code achieved good results on the validation set, but did not achieve the expected results on the test set? How can I solve this problem?

maenstru56 commented 8 months ago

Hello,

The most likely reason for the different values you obtained is that your setup is different, please make sure to:

If you do the steps above, the results you obtain should be the same as the ones we reported in the paper.

In case you want to use a different setup to test our model, feel free to use the resulting values you obtain in that context, but make sure to mention the said context.

wyfsmn commented 8 months ago

I noticed that you provided two types of datasets, one is a dataset split into three parts, and the other is a dataset with only one part. Where should I use the dataset for training? The code seems to split the entire dataset instead of using the three part dataset you provided

maenstru56 commented 8 months ago

Yes, the code we provided is more general, so that it can be used for different types of datasets and can be easily adapted.

If you want to replicate our results, please use the split datasets (here) and adapt the code to separately load the training, validation and testing data. By doing this, you don't need the "splitting" anymore, you can use the "ImageLoader2D.load_data" function to directly load all 3 data sub-sets (training/validation/testing).