Cocofeat / TBraTS

【MICCAI 2022】"TBraTS: Trusted Brain Tumor Segmentation"
46 stars 4 forks source link

ValueError: #4

Open Xiuxiu21 opened 2 years ago

Xiuxiu21 commented 2 years ago

Epoch 1/198 Traceback (most recent call last): File "G:/ TBraTS-main/TBraTS-main/trainTBraTS.py", line 268, in epoch_loss = train(epoch) File "G:/ TBraTS-main/TBraTS-main/trainTBraTS.py", line 127, in train evidences, evidence_a, loss = model(x,target,epoch,args.mode) ValueError: not enough values to unpack (expected 3, got 2)

Cocofeat commented 2 years ago

Thanks for your attention! line 268 is ok. line 127 is modified

Xiuxiu21 commented 2 years ago

Thanks for your attention! line 268 is ok. line 127 is modified

image

这里是否也需要修改呢

Cocofeat commented 2 years ago

Yeah, right!

在 2022-09-27 10:22:25,"Xiuxiu21" @.***> 写道:

Thanks for your attention! line 268 is ok. line 127 is modified

这里是否也需要修改呢

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

Xiuxiu21 commented 2 years ago

Yeah, right! 在 2022-09-27 10:22:25,"Xiuxiu21" @.> 写道: Thanks for your attention! line 268 is ok. line 127 is modified 这里是否也需要修改呢 — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.>

image 请问我该如何修改这部分让3正确运行呢?

Cocofeat commented 2 years ago

you should check the input data, detail about the Lines 213-248 "sample = transform(sample)"