Giter Site home page Giter Site logo

Comments (7)

ncoudray avatar ncoudray commented on September 6, 2024

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.

Gaodelike avatar Gaodelike commented on September 6, 2024

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.

ncoudray avatar ncoudray commented on September 6, 2024

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.

Gaodelike avatar Gaodelike commented on September 6, 2024

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.

ncoudray avatar ncoudray commented on September 6, 2024

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.

Gaodelike avatar Gaodelike commented on September 6, 2024

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.

ncoudray avatar ncoudray commented on September 6, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.