Giter Club home page Giter Club logo

Comments (4)

SorourMo avatar SorourMo commented on July 28, 2024

Hi.
The evaluation metrics described in Cloud-net are calculated first over each test image. Then they are averaged over the total number of test images. Like this:
Jaccard of the first test image: Jaccard1 = tp1/(tp1+fp1+fn1)
Jaccard of the second test image: Jaccard2 = tp2/(tp2+fp2+fn2)
.
.
Total Jaccard = (Jaccard1+Jaccard2+...+JaccardM)/M
where M is the total num of images.
In Cloud-net+, tp, fp, fn, and tn are measured for each target class and then metrics are calculated as mentioned in the "evaluation metrics" section of the paper. Like this:
Total Jaccard = (tp1 + tp2+ ... + tpM)/((tp1 + tp2+ ... + tpM)+(fp1 + fp2+ ... + fpM)+(fn1 + fn2+ ... + fnM))
That is the same for other metrics too.
Cloud-Net+ code will be available soon.

from 38-cloud-a-cloud-segmentation-dataset.

Silengcewang avatar Silengcewang commented on July 28, 2024

from 38-cloud-a-cloud-segmentation-dataset.

Silengcewang avatar Silengcewang commented on July 28, 2024

from 38-cloud-a-cloud-segmentation-dataset.

SorourMo avatar SorourMo commented on July 28, 2024

There is no trick. The Matlab code provided here are only for the FCN and Cloud-Net papers. As I said before (here and in the papers), this code calculates metrics for each image and then averages those metrics over 20 scenes of 38-Cloud test set.

However, if you want to calculate metrics over each class, and not each image, (same as what've done in Cloud-Net+ paper), you need to write your own code to do so.

from 38-cloud-a-cloud-segmentation-dataset.

Related Issues (6)

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.