Tool/software:
Hello,
I am trying to use the edgeai-yolov5’s pose implementation. I have mentioned the exact link to repo, dataset and model head description below for quick reference.
Repo: https://github.com/TexasInstruments/edgeai-yolov5/tree/yolo-pose
Dataset: coco-pose
TI SDK: ti-processor-sdk-rtos-j721s2-evm-08_05_00_11
head: # YOLOv5 head
[ [ -1, 1, Conv, [ 768, 1, 1 ] ],
[ -1, 1, nn.Upsample, [ None, 2, 'nearest' ] ],
[ [ -1, 8 ], 1, Concat, [ 1 ] ], # cat backbone P5
[ -1, 3, C3, [ 768, False ] ], # 15
[ -1, 1, Conv, [ 512, 1, 1 ] ],
[ -1, 1, nn.Upsample, [ None, 2, 'nearest' ] ],
[ [ -1, 6 ], 1, Concat, [ 1 ] ], # cat backbone P4
[ -1, 3, C3, [ 512, False ] ], # 19
[ -1, 1, Conv, [ 256, 1, 1 ] ],
[ -1, 1, nn.Upsample, [ None, 2, 'nearest' ] ],
[ [ -1, 4 ], 1, Concat, [ 1 ] ], # cat backbone P3
[ -1, 3, C3, [ 256, False ] ], # 23 (P3/8-small)
[ -1, 1, Conv, [ 256, 3, 2 ] ],
[ [ -1, 20 ], 1, Concat, [ 1 ] ], # cat head P4
[ -1, 3, C3, [ 512, False ] ], # 26 (P4/16-medium)
[ -1, 1, Conv, [ 512, 3, 2 ] ],
[ [ -1, 16 ], 1, Concat, [ 1 ] ], # cat head P5
[ -1, 3, C3, [ 768, False ] ], # 29 (P5/32-large)
[ -1, 1, Conv, [ 768, 3, 2 ] ],
[ [ -1, 12 ], 1, Concat, [ 1 ] ], # cat head P6
[ -1, 3, C3, [ 1024, False ] ], # 32 (P6/64-xlarge)
[ [ 23, 26, 29, 32 ], 1, Detect, [ nc, anchors, nkpt ] ], # Detect(P3, P4, P5, P6)
]
This branch (yolo-pose) does not have the ‘utils/proto’ folder which the main branch has. Neither does this branch have prototxt implementation inside its export.py file. I tried using the proto folder from the main branch, but it doesn’t have the message description for head with key-points information. So, my questions are as follows:
- Is there a script to generate prototxt file for yolov5-pose model?
- I think I might be able to get away with using the prototxt messages from yolov5 bbox model for the pose implementation, but I won’t be able to use NMS in the graph. But, I need to perform NMS in the graph and not on the ARM core. Can I modify the proto files in any way to accommodate the pose head with NMS?
- Is the pose head supported by the SDK version I am using which is ‘08_05_00_11’?