yolov4_deep_sort_pytorch icon indicating copy to clipboard operation
yolov4_deep_sort_pytorch copied to clipboard

I tried using my custom tiny-yolov4 weights with one class. I updated all the weights and .data files but tracking is not sucessful.

Open prabinaneupane opened this issue 3 years ago • 3 comments

I tried to do training with my custom trained tiny yolo weights and updated all the cfg and weight file but got error while tracking. Could you please help.

image

prabinaneupane avatar Jun 21 '21 19:06 prabinaneupane

1.where does the empty list output come from? 2.and make sure the below run success, if not, comment it bbox_xywh[:,3:] *= 1.2 3.and could you show me your outputs = self.deepsort.update(bbox_xywh, cls_conf, im, cls_ids)

derek285 avatar Jun 23 '21 06:06 derek285

outputs = self.deepsort.update(bbox_xywh, cls_conf, im, cls_ids) gives me the empty list, that was what i was printing on the first place.

while printing bbox_xywh[:,3:] i get 399.74 and 384.86 as whowsn in the screenshot, i think there is no problem with that.

Also i changed the lst_move_life to [0] at the top of tracker.py as i have only one class. so my mask cls_ids is [True]. is that the correct way? image

could you please help me out with this :)

prabinaneupane avatar Jun 24 '21 10:06 prabinaneupane

sorry to reply late. the access to github here always.... so you only do person tracking, just change the lst_move_life to what you need only will avoid that issue

derek285 avatar Jul 13 '21 07:07 derek285