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

数据集中的格式 #34

Closed starsky68 closed 4 years ago

starsky68 commented 4 years ago

@CaptainEven 请问数据集中的格式{类别,追踪id,坐标值},都是什么数据类型,类别和追踪id都是int?还是str,还是整体是dict?

CaptainEven commented 4 years ago

@starsky68 可以参考#12

starsky68 commented 4 years ago

@starsky68 可以参考#12

我想请教的是,labels_with_ids中txt中每个元素的数据类型,因为我制作的和你提供的解析源码不同,所以我想自己按照visdrone中labels_with_ids的格式去做。

CaptainEven commented 4 years ago

这个很灵活,既可以是int,也可以是float,根据自己需要,都可以。

starsky68 commented 4 years ago

这个很灵活,既可以是int,也可以是float,根据自己需要,都可以。

str也可以吗?类别和追踪id也可以是float吗?

CaptainEven commented 4 years ago

id也可以是float,str的话你最终再getitem返回也还是需要转换成flaot的。

starsky68 commented 4 years ago

id也可以是float,str的话你最终再getitem返回也还是需要转换成flaot的。

追踪id和类别号都可以都是float对吗,还是只有追踪id

CaptainEven commented 4 years ago

都可以是float,数据最后加载进GPU默认都是float32

starsky68 commented 4 years ago

都可以是float,数据最后加载进GPU默认都是float32

感谢你的解答。

starsky68 commented 4 years ago

都可以是float,数据最后加载进GPU默认都是float32

请问训练的数据,labels_with_ids中的id和类别号,还需要排序好了吗? @CaptainEven

CaptainEven commented 4 years ago

@starsky68 不需要