edgeai-yolov5
edgeai-yolov5 copied to clipboard
Wrong kpts in train batch
Hi, I sometimes have wrong keypoints in a training batch when training on the included coco_kpts.yaml file and default labels as downloaded from the repo, see attached img.
I used the latest version of the repo.
I encountered the same problem, this issue may help you
@Gwencong I already implemented this, but it doesn't help
https://github.com/TexasInstruments/edgeai-yolov5/blob/ae4e0e8b399959f0b60b0f555d4aafc49ae1d859/utils/plots.py#L109
You need to modify the function of 'plot_skeleton_kpts' in 'plots.py'. Since it is hard-coded with an image size of 640, it will be resolved by changing the image size that was entered for the parameter value when training.