Comments (1)
The model is trained with 5 folds train-val splits in stage-1, but in this repo we only use fold-0 to generate top-k, if you use this top-k to train stage-2 for fold-1~4, there must be some small data leakage from val to train (e.g. some wsi data in val during fold-0 may be split into train during fold-1).
So, there are 2 solutions: 1) generate different top-k for each fold using their own train-val split stage-1 model, but this may need more memory and computation. 2) use only fold-0 but with 5 different random seeds for both stage-1&2.
Remember that the 5-folds are used to get more stable averaged results, reported in our paper (the problem is caused by the limited samples num of WSIs). However, we find that above 2 solutions get similar stable results, so I recommend you use latter one, which is faster and efficient.
from wsi-finetuning.
Related Issues (10)
- Hi, I'm interssting in your work, wishing to public your job as soon as possible, it will help me a lot! Thanks HOT 1
- Question about the implementation of mask HOT 1
- Incomplete code of class `Whole_Slide_Bag_FP_SAVE` in `extract_topK_ROIs.py` HOT 2
- Hi,where is the KL loss in your code HOT 2
- Inquiry about Complete Code HOT 2
- Inquiry about Missing Slides when Patching HOT 4
- Problem in openslide.read_region HOT 4
- On the Mapping Problem of BRCA Subtype Datasets HOT 2
- VIB selection question HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wsi-finetuning.