Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inconsistent results #62

Open
xk16111108 opened this issue Nov 24, 2021 · 11 comments
Open

Inconsistent results #62

xk16111108 opened this issue Nov 24, 2021 · 11 comments

Comments

@xk16111108
Copy link

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

@yunfeihaha
Copy link

me too,why?

@xk16111108
Copy link
Author

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
Copy link
Author

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

@yunfeihaha
Copy link

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

@yunfeihaha
Copy link

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"

@xk16111108
Copy link
Author

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

@rtyasdf
Copy link

rtyasdf commented Nov 29, 2021

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

@TANGHHH123
Copy link

me too,why?

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

@LiaoZihZrong
Copy link

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 ?

@SpongeBoSquarePants
Copy link

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
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants