CMU-Perceptual-Computing-Lab / openpose_train

Training repository for OpenPose
https://github.com/CMU-Perceptual-Computing-Lab/openpose
Other
580 stars 185 forks source link

Foot Dataset V2 Not Available #12

Open darylsew opened 5 years ago

darylsew commented 5 years ago

Issue Summary

Trying to generate LMDB files for the foot dataset. I downloaded the foot dataset from https://cmu-perceptual-computing-lab.github.io/foot_keypoint_dataset/ and unzipped it into the COCO directory, but the filename does not match with the expected file name in the a2_coco_jsonToMat script. I'm guessing you were developing this with a later, unreleased version of the foot dataset?

I also tried changing the filename it was looking for from person_keypoints_val2017_foot_v2.json to person_keypoints_val2017_foot_v1.json to match up with the latest on the site. But then I get the following error:

Error using a2_coco_jsonToMat (line 201)
Required: numel(keypoints)/3 = 6 == 23

Seems to hint that the v2 dataset has a different number of keypoints?

Executed Command (if any)

Running a2_coco_jsonToMat with for mode = 2:3 % foot uncommented

OpenPose Output (if any)

Errors (if any)

> In a2_coco_jsonToMat (line 24) 
Converting and saving JSON into MAT format
Converting val2017_foot_v2
Loading and preparing annotations... Error using fileread (line 23)
Could not open file ../dataset/COCO/cocoapi/annotations/person_keypoints_val2017_foot_v2.json. No such file or directory.

Error in CocoApi (line 61)
        coco.data=gason(fileread(annFile)); end

Error in a2_coco_jsonToMat (line 137)
    coco = CocoApi(annotationsFile);

Type of Issue

You might select multiple topics, delete the rest:

Your System Configuration

Should not be necessary to repro. Ubuntu 16 4x 2080ti GPU, CUDA 10, running in docker image based on caffe docker, running matlab trial version

emredog commented 4 years ago

Also following this.