Closed damiankucharski closed 1 year ago
Hi DK, @damiankucharski I cleaned the codes after my experiments. There might be bugs. I just updated one line here Line 119: cost += self._losses_and_weights["vss"] * cfs.vss(p_y_given_x, y_gt)
In addition, in your train config, please make sure that losses_and_weights = {"xentr": 0.5, "iou": None, "dsc": None, "vss":0.5} where vss is chosen.
Please try whether it works now.
Hi @YixingHuang,
Sorry for late reply. I've run some experiments and played a little with the alpha parameter in the loss function. I also compared the results with nnDetection and nnUnet. It seems that even the models set up with very high precision in mind (I tried alpha values as low as 0.05) have lower precision that nnUNet models for example, however they do tend to find some lesions that nnUNet and nnDetection have trouble finding. I am going to perform more experiments and investigate further but it seems that these architectures have tendencies to work a little better for different kinds of lesions. Thank you very much for your help.
Regards, Damian Kucharski
Hi DK @damiankucharski, thank you for sharing your update. It is a complex nonconvex optimization. Different architectures, different optimizers will always find slightly different local minima. Good to hear that our model can find some difficult brain metastases.
Since the original bug has been fixed, I simply close this issue. If you have more issues or want to share your performance evaluation, feel free to create a new issue.
Hello @YixingHuang, I am now trying to train your model on my data to compare how the performance will change compared to just using your pretrained model. I followed the steps from readme but I am getting the following error.
What may be causing the issue? It looks as if there is a bug in the code but I assume I may be doing something wrong since you used your code to train your own models...