Comments (3)
@tmabraham Besides the hyperparamters you mentioned, the github was updated just a couple days ago, which gives you more options for tuning. e.g. you can now try a single-attention branch version of clam (--model_type clam_sb) which I recommend as it should run slightly faster while giving a favorable performance, and B can be set via --B, etc. Similarly, I have added the option to disable instance-level clustering via --no_inst_cluster. See options under main.py.
Other things you could try is adjusting model architecture, for the problems I tried, I had limited data for training so the model is fairly light-weight with a couple of layers and under 1M parameters (model_clam.py). You can try adding more stack of layers to/enlarge both the model itself as well as the attention module.
Also this repo is specifically for weakly-supervised problems where only the slide-level labels are provided. If your dataset gives additional labels at the pixel/ROI-level, you might want to think about whether there are other methods/modifications you can use that would take advantage of these additional labels to get better performance.
@jjhbw Yes, you can in principle try using different pre-trained models in extract_features.py w/ very slight changes to the code. Just make sure that if your embedding dimension changes, you would also need to make the corresponding changes to the model.
from clam.
I don't want to derail this discussion as it seems focussed on training hyperparameters, but i'm also eager to hear stories of people using different pretrained models for patch-level feature extraction (extract_features.py
).
Intuitively, I would speculate that the ImageNet embeddings may leave some descriptive power on the table, as the ImageNet training images are very different from tissue slide images.
from clam.
@fedshyvana Is the single-attention branch version from the paper? Or is this a new version of the model?
I have an older version of the repository which I have already made changes to for my custom task, is there a way I can go through the code and disable the mutual exlcusivity assumption?
Also, I only have slide-level labels on the test sert for the task I am looking at right now.
from clam.
Related Issues (20)
- Patch Generation on Manual Segmentations HOT 1
- Pen Marking of Slides handled by CLAM HOT 2
- How to maintain reference patch size of 256x256 HOT 2
- Accidentally dropping coordinates? HOT 1
- Patches considered in Background while patching HOT 2
- Custom Downsample in create_patches_fp HOT 2
- How to downsample from 40x to 20x using create_patches_fp when level 1 is 4 HOT 3
- patches are different color from slide HOT 1
- Patch magnification HOT 2
- How to use independent test sets HOT 1
- Unable to install on my windows using anaconda 3 HOT 1
- ZeroDivisionError: float division by zero HOT 1
- tiffslide with CLAM HOT 1
- error reading DIR_TO_COORDS h5 files HOT 1
- Coordinates mismatch HOT 2
- Heatmaps reversed HOT 2
- An error in eval.py HOT 1
- something unclear in stitches after using create_patches_fp.py HOT 1
- How do I get rid of the black part as a result of svs file Mask with image size (125074, 88592)? HOT 3
- Problems segmentiong Ventana bif WSI HOT 2
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 clam.