Medical-Transformer icon indicating copy to clipboard operation
Medical-Transformer copied to clipboard

Inconsistent results

Open xk16111108 opened this issue 2 years ago • 11 comments

When reproducing the code, using the "Medt" network, you have not encountered the training and test results of the situation is very different

xk16111108 avatar Nov 24 '21 03:11 xk16111108

me too,why?

yunfeihaha avatar Nov 25 '21 02:11 yunfeihaha

I don't know, in the test, there's still a lump in the upper left corner, and the test is very different from the training TCGA-XS-A8TJ-01Z-00-DX1

xk16111108 avatar Nov 25 '21 02:11 xk16111108

EO(W(A@HE573M5{P$%($U7T

xk16111108 avatar Nov 25 '21 02:11 xk16111108

The training and test results of GLAS Dataset are bad 捕获

yunfeihaha avatar Nov 25 '21 03:11 yunfeihaha

The train code python train.py --train_dataset "./Medical-Transformer/dataset/war/train/" --val_dataset "./Medical-Transformer/dataset/war/validation/" --direc './Medical-Transformer/dataset/war/result/' --batch_size 1 --epoch 400 --save_freq 10 --modelname "MedT" --learning_rate 0.001 --imgsize 400 --gray "no"

yunfeihaha avatar Nov 25 '21 03:11 yunfeihaha

We're about the same. It's not going to work

xk16111108 avatar Nov 25 '21 07:11 xk16111108

@yunfeihaha, I leaved a PR, discussing resulting image, check it out, maybe you'll find it useful

rtyasdf avatar Nov 29 '21 12:11 rtyasdf

me too,why?

请问您是如何训练的呢?我下载代码后感觉运行不了

TANGHHH123 avatar Dec 01 '21 05:12 TANGHHH123

The train code python train.py --train_dataset "./Medical-Transformer/dataset/war/train/" --val_dataset "./Medical-Transformer/dataset/war/validation/" --direc './Medical-Transformer/dataset/war/result/' --batch_size 1 --epoch 400 --save_freq 10 --modelname "MedT" --learning_rate 0.001 --imgsize 400 --gray "no"

how did you fix your problem ?

LiaoZihZrong avatar Jul 13 '22 06:07 LiaoZihZrong

When reproducing the code, using the "Medt" network, you have not encountered the training and test results of the situation is very different

Me too.I met the same issue as you.How did you solve it?

SpongeBoSquarePants avatar Feb 03 '23 06:02 SpongeBoSquarePants

The issue is disappear after I delete model.eval() in the test.py file.I don't know why.

SpongeBoSquarePants avatar Feb 04 '23 01:02 SpongeBoSquarePants