CaptainEven / MCMOT

Real time one-stage multi-class & multi-object tracking based on anchor-free detection and ReID
MIT License
386 stars 82 forks source link

类别的命名工规范 #38

Closed yumeng88 closed 3 years ago

yumeng88 commented 3 years ago

@CaptainEven 在实际应用中,会遇到,类别的标签不是符合0,1,2,3,,,(比如30个类,但是训练的数据中暂时没有其中的几个类,比如,17类和19类没有数据)那就会造成在训练的时候,触发这个错误,请问必须要将现有的类别然后0,1,2,3,,,这样的序列排列起来吗? if int(reid_id) > opt.num_classes - 1: print('[Err]: configuration conflict of reid_cls_ids and num_classes!')

CaptainEven commented 3 years ago

@yumeng88 暂时是的。不过你可以任意修改源代码适应skip id的情况,修改起来不困难,祝你好运!