-
Notifications
You must be signed in to change notification settings - Fork 88
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
Strange score for TCGA #61
Comments
You may try a smaller weight decay. |
Thank you for your advice. But I'm not sure why the best results can be obtained in the first few epochs. Aother question is how did you test? I remembered you mentioned that you got the test result. But for me, I followed the instruction Thank you very much! |
For the TCGA dataset, the model converges very quickly because a large portion of the region in the slides are positive regions. |
Thank you for your answer. What's more, I notice that in |
Yes, you should separate the testing set and test it after training. (Make sure you also exclude testing data in the self-supervised training phase if you are using self-supervised training. Or, you can use ImageNet pretrained CNN) |
I incorporated the training/testing into the same pipeline in the latest commit. This change allows you to read the evaluation results on a reserved test set. I also incorporated a simple weights initialization method which helps stabilize the training. You can set --eval_scheme=5-fold-cv-standalone-test which will perform a train/valid/test like this:
You can also simply run a 5-fold cv --eval_scheme=5-fold-cv There were some issues with the testing script when loading pretrained weights (i.e., sometimes the weights are not fully loaded or there are missing weights, setting strict=False can reveal the problems.). The purpose of the testing script is to generate the heatmap, you should now read the performance directly from the training script. I will fix the issues in a couple of days. |
Hi, @HHHedo & @binli123 .
I have the same question with @HHHedo. I focus on the TCGA part now, and followed the instruction.
Download feature vectors for MIL network --> $ python download.py --dataset=tcga
$ python train_tcga.py --dataset=TCGA-lung-default
For TCGA, I got the same attention score with @HHHedo , I don't know why at the first epoch, the score is so high. You can see my screenshots.
` ...` and after the 3rd epoch, there is no other better model to be solved. That's very confused me.
Could you tell me why and how to fix it? Thank you very much.
Originally posted by @xiaozhu0816 in #59 (comment)
The text was updated successfully, but these errors were encountered: