Giter Site home page Giter Site logo

evaluate about sharpmask HOT 4 OPEN

ccxietao avatar ccxietao commented on June 23, 2024
evaluate

from sharpmask.

Comments (4)

aby2s avatar aby2s commented on June 23, 2024

Hi.
Sorry, I don't exactly understand what you're asking for. It's possible to either evaluate model on COCO validation set or to obtain mask for any image. It's all described in the readme.

from sharpmask.

ccxietao avatar ccxietao commented on June 23, 2024

Hello, I want to know how to use the evaluation index AP of the coco dataset to evaluate the quality of the model. You use the IOU evaluation index in your code, so how should I modify it?

from sharpmask.

aby2s avatar aby2s commented on June 23, 2024

The best way to do it is to store predictions in COCO format and use official scripts for evaluation. Unfortunately, I didn't implement it, but it's not hard to do.
You can modify the _run_validation method or add a similar one, which calculates predictions (self.score_predictions/self.refinement_prediction for SharpMask) in the session run instead of metric calculation. Then store predictions in COCO format and use COCO evaluation tools to calculate AP - https://github.com/cocodataset/cocoapi/blob/master/PythonAPI/pycocotools/cocoeval.py

from sharpmask.

ccxietao avatar ccxietao commented on June 23, 2024

Ok, I will try it, thank you very much.

from sharpmask.

Related Issues (3)

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.