Closed liu-tianxiang closed 2 years ago
Thanks for your attention! We use the dice_loss as the L_dice, not the focal_loss. You can choose the loss depended on your tasks. In evidential deep learning, the L_KL and L_ice are used for loss function. In our task, we add the L_dice.
in trainTBraTS.py(line 127) This model has three accepted values, but TMSU only returned two accepted values(trustedseg line 87) Is there some problem here, is there a workaround?
We have modified it, thanks for your attention!
evidences, loss = model(x,target,epoch,args.mode)
in trainTBraTS.py(line 127)
in trainTBraTS.py(line 157) seems to have the same problem
Yeah, modified it.
in trainTBraTS.py(line 157) seems to have the same problem 请问您跑通了吗,方便的话我我想问您一些问题,这是我的邮箱3190221518@qq.com
Not yet. The code doesn't seem to see the Dirichlet function part.
还没有。代码似乎看不到狄利克雷函数部分。
===========>Validation begining!===========
Traceback (most recent call last):
File "G:/ TBraTS-main/TBraTS-main/trainTBraTS.py", line 278, in
in train(line292) code if args.rlt > 0: loss = criterion_fl(output, target) + args.rlt * criterion_dl(output, target) else: loss = criterion_dl(output, target) Only criterion_fl (FocalLoss), criterion_dl (DiceLoss) are used here, I opened FocalLoss, DiceLoss contains the uncertainty content (klLoss) mentioned in the paper, but the paper shows 3 losses, does it mean that these two losses already contain the three losses shown in the figure in the paper , That is, L = Lice + λpLKL + λsLDice represents the two losses of FocalLoss and DiceLoss (klLoss is included in FocalLoss, DiceLoss). However, (L_ace + L_dice + L_KL) used in dce_eviloss (trainTBraTs line85)
in trainTBraTs is consistent with the paper, so which loss should be the loss mentioned in this article