Comments (4)
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.
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.
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.
Ok, I will try it, thank you very much.
from sharpmask.
Related Issues (3)
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 sharpmask.