@Matrixzhu
2021-09-28T19:36:55.000000Z
字数 2353
阅读 356
Totally 19 key points are selected. Left and right eyes are not include, because they are not labeled in Stanfortdextra dataset. For every imge only visible key points are labeled.
keypoint name | poportion in dataset |
---|---|
Left front leg: paw | 0.92 |
Left front leg: middle | 0.93 |
Left rear leg: paw | 0.86 |
Left rear leg: middle joint | 0.69 |
Left rear leg: top | 0.65 |
Right front leg: paw | 0.55 |
Right front leg: middle joint | 0.87 |
Right front leg: top | 0.88 |
Right rear leg: paw | 0.84 |
Right rear leg: middle joint | 0.68 |
Right rear leg: top | 0.66 |
Tail start | 0.57 |
Tail end | 0.58 |
Base of left ear | 0.86 |
Base of right ear | 0.85 |
Nose | 0.99 |
Left ear tip | 0.44 |
Right ear tip | 0.45 |
There are 6 types of dog are selected randomly.
Example image with ground true for each breed
The image dataset I use called StanfordExtra. It contains 20580 dog images in 120 breed. There are 12538 images for labeld with ground true keypoints. For this experiment I select 6 breeds of dog ( mensioned before), 60 images for each breed. Since every dog is in different backgrounds and poses, and some images only contain small poportion of my selected keypoints. Thus, my image selection critierion is that only the image contains more than 60 percent visible keypoints out of my label set can be used as training data. There are 353 images are selected. The dataset fraction rare used is 0.9. There are 302 training image and 51 test image.
The model has been trained for 200,000 iterations which is recommend by the Deeplabcut official document. Mean square error is used as lose function, which is measure by the Euclideam distance between the ground true point's coordinate and prediction point's coordinate. The unite is number of pixel.
Train error | Test error | Train error with p-cutoff | Test error with p-cutoff | p-cutoff used |
---|---|---|---|---|
2.68 | 32.69 | 2.58 | 13.23 | 0.6 |
p-cutoff means only the points with prediction confidence with likelyhood > p-cut would be calculated error. This is helps to exclude occlude points.
top 5 error train images | error | top 5 error test images | error |
---|---|---|---|
n02088632_1576.jpg | 23.10 | n02088632_2321.jpg | 156.81 |
n02112706_1568.jpg | 8.76 | n02096437_2711.jpg | 152.19 |
n02096437_3241.jpg | 8.12 | n02087394_3314.jpg | 62.80 |
n02112706_539.jpg | 6.98 | n02088632_4208.jpg | 61.28 |
n02112706_2074.jpg | 5.92 | n02087394_7025.jpg | 50.37 |
For the training image n02088632_1576.jpg is the most problematic one.
"." is ground true, "+" is right prediction, "x" is wrong prediction.
For test images n02088632_2321.jpg and n02096437_2711.jpg are the most problematic images.