Skip to main content

COCOEval get 0 result for AP and AR?

I am trying to do project in detecting keypoints from images. For the evaluation, I am using COCOeval to calculate the AP and AR. However, the evaluation dataset always get result 0 for all AP and AR. Is it normal for early stage of the training where the prediction still very bad? or There is something wrong with the code.

Here the validation result example:

[ { "category_id": 1, "center": [ 138.40066528320312, 120.2301254272461 ], "image_id": 100000, "scale": [ 1.2766542434692383, 1.2766542434692383 ], "score": 1.0, "keypoints": [ 369.5614013671875, 7.676669120788574, 1.0, 416.5087890625, 24.127635955810547, 1.0, 491.8260498046875, 31.30722427368164, 1.0, 335.75958251953125, 30.002338409423828, 1.0, 353.5982666015625, 60.155391693115234, 1.0, 472.4736328125, 41.874290466308594, 1.0, 210.8014373779297, 28.03527069091797, 1.0, 457.08782958984375, -108.73526000976562, 1.0, 543.10205078125, -105.9140396118164, 1.0, 343.39666748046875, 5.00376033782959, 1.0, 595.7027587890625, -97.80133819580078, 1.0, 434.21527099609375, -67.6851577758789, 1.0, 204.2008819580078, 35.23044204711914, 1.0, 235.04319763183594, 21.53371810913086, 1.0 ] },

and here is the ground truth for the same input:

"annotations": [ { "num_keypoints": 14, "area": 5953.55502952497, "iscrowd": 0, "keypoints": [ 131.5449676513672, 117.83085632324219, 2.0, 130.82444763183594, 159.96043395996094, 2.0, 130.6156463623047, 202.69972229003906, 2.0, 149.73643493652344, 117.50897216796875, 2.0, 146.06874084472656, 159.61378479003906, 2.0, 144.61448669433594, 202.6561737060547, 2.0, 140.7966766357422, 46.8616943359375, 2.0, 141.01756286621094, 20.056594848632812, 2.0, 160.11976623535156, 60.10404968261719, 2.0, 163.0663299560547, 91.96377563476562, 2.0, 163.53526306152344, 120.45011901855469, 2.0, 121.48643493652344, 59.48382568359375, 2.0, 116.56602478027344, 90.03926086425781, 2.0, 116.50920104980469, 118.90538024902344, 2.0 ], "image_id": 100000, "bbox": [ 109.25439453125, 18.0977840423584, 58.29255676269531, 204.26467323303223 ], "category_id": 1, "id": 100000 },

and here is the result: result



source https://stackoverflow.com/questions/76847278/cocoeval-get-0-result-for-ap-and-ar

Comments

Popular posts from this blog

Prop `className` did not match in next js app

I have written a sample code ( Github Link here ). this is a simple next js app, but giving me error when I refresh the page. This seems to be the common problem and I tried the fix provided in the internet but does not seem to fix my issue. The error is Warning: Prop className did not match. Server: "MuiBox-root MuiBox-root-1" Client: "MuiBox-root MuiBox-root-2". Did changes for _document.js, modified _app.js as mentioned in official website and solutions in stackoverflow. but nothing seems to work. Could someone take a look and help me whats wrong with the code? Via Active questions tagged javascript - Stack Overflow https://ift.tt/2FdjaAW

How to show number of registered users in Laravel based on usertype?

i'm trying to display data from the database in the admin dashboard i used this: <?php use Illuminate\Support\Facades\DB; $users = DB::table('users')->count(); echo $users; ?> and i have successfully get the correct data from the database but what if i want to display a specific data for example in this user table there is "usertype" that specify if the user is normal user or admin i want to user the same code above but to display a specific usertype i tried this: <?php use Illuminate\Support\Facades\DB; $users = DB::table('users')->count()->WHERE usertype =admin; echo $users; ?> but it didn't work, what am i doing wrong? source https://stackoverflow.com/questions/68199726/how-to-show-number-of-registered-users-in-laravel-based-on-usertype

Why is my reports service not connecting?

I am trying to pull some data from a Postgres database using Node.js and node-postures but I can't figure out why my service isn't connecting. my routes/index.js file: const express = require('express'); const router = express.Router(); const ordersCountController = require('../controllers/ordersCountController'); const ordersController = require('../controllers/ordersController'); const weeklyReportsController = require('../controllers/weeklyReportsController'); router.get('/orders_count', ordersCountController); router.get('/orders', ordersController); router.get('/weekly_reports', weeklyReportsController); module.exports = router; My controllers/weeklyReportsController.js file: const weeklyReportsService = require('../services/weeklyReportsService'); const weeklyReportsController = async (req, res) => { try { const data = await weeklyReportsService; res.json({data}) console