Closed hsp2454 closed 1 year ago
Hi @hsp2454, thanks for using MMPose. Typically, the 'bbox_file' represents bounding boxes identified by object detectors. To assess the evaluation results' plausibility, you can remove the 'bbox_file' entries from the configuration and use the annotated bounding boxes instead.
If I remove bbox_file and set use_gt_bbox to true, he reported the following error during training
please following https://github.com/open-mmlab/mmpose/blob/0.x/configs/animal/2d_kpt_sview_rgb_img/topdown_heatmap/ap10k/res101_ap10k_256x256.py on how to avoid using 'bbox_file'
Yes, I solved the bbox_file problem, but my AP is still 0
Can someone answer my question, maybe which file I haven't modified?
There are several factors that could potentially lead to a zero AP score. It might be helpful to visualize the model's predictions on your validation data, as this could provide valuable insights into whether the issue lies within the data, the model, or the evaluation process itself.
My data set is labeled with labelme. There are four targets in a picture. I first label each target box, then mark the points, save it as json data, and then use the script on the Internet to convert it into a coco data set. The following is my data. I read other issues, and it seems that someone mentioned that it is related to my area, because the script for converting data sets all areas to 1. If I want to modify the value of area by myself, then I should How to calculate it, I can’t calculate the value of area correctly through your case, for example, how to calculate area through bbox in the following.
https://drive.google.com/file/d/1in7t4okYiLiAvOtvtctCYyjnwHnXAjst/view?usp=sharing
Sorry, because I didn't describe my problem clearly in( https://github.com/open-mmlab/mmpose/issues/2248).. I am using mmpose0.x now, not 1.x. My question is how to use mAP as an evaluation indicator in mmpose0.x. The results of my evaluation are all 0. The following are some of my configuration files.
First, the following is my config file:
Below is my mmpose\datasets\datasets\animal\pig_animal.py file
Will the calculation of AP be related to my bbox_file? The label in this bbox_file is the frame information marked with labelme according to the pictures in the verification set after I divide the verification set.