Comments (7)
Hi -
For the colors, yes, it's the way it should work - (that code is now in the archive sub-folder - I actually don't use it anymore and will need to update the README at some point. I now use the "0f_HeatMap_nClasses_Overall.py there is a "project" option leading to different heatmaps with different colors, but you can easily change the code to add your own option / modify the colors)"
For the blank regions, regions where the tissue appears to dim or where there may be too much background is not saved. You can modify the threshold when tiling using the "-B" option to allow for more background (and the "-D" set to 0 if you're using the latest version of the code).
Best
from deeppath.
Hi,
I found my 4-category output file out_ filename_ Stats.txt
does not seem to be fully applicable to 0f_ HeatMap_ nClasses_ Overall.py
script.
I checked the code of the script and found that dict_tiles_stats()
the return value of the function is ['0 ',' 0 ',' 1 ',' 0 ',' 0 ']. I feel something is wrong. I think it should return the column [0.02164917 0.01519341 0.89687777 0.01225705 0.069666585].
I don't know if I understand it correctly. Here is my out_ filename_ Stats.txt
, I don't know whether this output is consistent with yours.
out_filename_Stats.txt
Hope to get your reply.
Best
from deeppath.
Hi. -which script did you use to get that out_filename_Stats.txt? It is only supported for a softmax trained model, not the multi-class sigmoid one
Best
from deeppath.
I use the script under the xClass directory: nc_ imagenet_ Eval.py
, so it seems that I should use the multiClasses directory?
And I see tf.app.flags.DEFINE_ String ('mode ','0_softmax', "" "0_softmax or 1_sigmoid." ")
This code assumes that only this parameter needs to be modified. How can I use this script correctly to get out_ filename_Stats.txt
What about results?
from deeppath.
the one under the xClass directory is the one you should use. But which options did you set?
If mode was set to "1_sgimoid", then this is not compatible with the heatmap, etc... steps which are developed now for the softmax only
from deeppath.
I am using the parameter '1_sigmoid', is it only the heatmap that does not support multi-classification? Or can modify your source code to achieve the purpose? , In addition, does the probability distribution graph of Code in 03_postprocessing/multiClasses for probability distributions (mutation analysis) support multi-classification?
from deeppath.
Hi - The multi-classification is indeed no longer used, but feel free to modify whatever needs to be modified for it to work in your case. I would of course suggest to double check the probability distributions code gives sensible results.
from deeppath.
Related Issues (20)
- train/test/folder image structure for fine-tuning via Inception V3 for mutation classification HOT 1
- Which exact WSIs are selected for EGFR prediction? HOT 4
- About Transfer Learning - Frozen weights?
- Exact way of doing tile aggregation by averaging output probability HOT 1
- mrxs images HOT 1
- stuck at 0b_tileLoop_deepzoom6.py when tiles a very large tiff image. HOT 2
- Clarification about Labels HOT 2
- normalize tile HOT 1
- How to compute the loss HOT 1
- How to specify certain slides in a split HOT 2
- Multi-label mutation data splits
- In Pytorch
- How can I use my data to build my json file?
- Use 0f_ HeatMap_ nClasses_ Overall.py has no result output
- Questions about cv2.findContours() HOT 1
- Multiple Instance Learning HOT 1
- Reference image for Vahadane normalization HOT 2
- JSON file HOT 2
- Issue running bazel
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 deeppath.