keypoint's coordinate is incoorect, if imageSize equal 224
zg9uagfv opened this issue · 2 comments
zg9uagfv commented
if imageSize equal 224, it's realtime,but keypoint‘s coordinate is incor。
how can i do to make the keypoint's coordiante coorect?thaks a lot!
mbotsu commented
The model based on the result is transplanting weights from posenet.
If posenet will do the same, you should discuss it with posenet.
https://github.com/tensorflow/tfjs-models/tree/master/posenet
rwightman commented
224 is not a legit resolution for posenet.
In the original JS code, these are the legit resolutions...
export type PoseNetResolution = 161|193|257|289|321|353|385|417|449|481|513;
technically though, a resolution that is divisible by the output_stride + 1 should work... so 225 might be okay if you're using an output_stride of 16