cosine_metric_learning icon indicating copy to clipboard operation
cosine_metric_learning copied to clipboard

How to train the cosine metric learning model with the VeRi data set to be used in deep sort

Open jhonjam opened this issue 4 years ago • 13 comments

hi i am using yolov3 for vehicle detection and deep sort for tracking. however in some frames the detection of an object is lost, the deep sort algorithm generates a new id for the same object. I would like to do a new cosine metric model training to generate a .pb file to use in deep sort with the data set VeRI , however I have no idea what the format of the ground truth of objects is, in yolo the format is class, x1, y1, x2, y2, to train "cosine metric model" how would the gt_boxes of the images be? Could you explain or give me an idea about this. or someone who can share the trained model with me.

I have obtained information from other repositories, but none give detailed information.,

Thank you

jhonjam avatar Jul 03 '20 23:07 jhonjam

.

phungthengoc avatar Aug 18 '20 07:08 phungthengoc

waitting

Vuong02011996 avatar Sep 10 '20 06:09 Vuong02011996

I was able to train my own model using custom dataset, and I am going to write a blog post soon for everyone.

seahawks8 avatar Sep 10 '20 14:09 seahawks8

@seahawks8 i looking foward to you , i have some issue when trainning veri dataset

phungthengoc avatar Sep 17 '20 03:09 phungthengoc

Hi @seahawks8, I am also very interested in training my own model using a custom dataset. Any updates on this?

lgold0525 avatar Oct 30 '20 14:10 lgold0525

I will do it eventually. Maybe next week.

seahawks8 avatar Oct 30 '20 15:10 seahawks8

@seahawks8 Did you write a blog post about training deepsort model in Veri dataset? Please share it

ngotra2710 avatar Mar 05 '21 08:03 ngotra2710

not yet, too busy with work.

seahawks8 avatar Mar 05 '21 23:03 seahawks8

@seahawks8 Please share the blog here, whenever you complete it!

kiraans avatar Apr 02 '21 04:04 kiraans

sounds good

seahawks8 avatar Apr 02 '21 15:04 seahawks8

@seahawks8 have you written a blog. any updates

akashAD98 avatar May 18 '21 11:05 akashAD98

There is simple way to train the feature-extraction model using VeRi, just treat it as multi classes task.

Say using resnet50 in keras and add a Dense layer with softmax activation, one car is a category, every category has tons of images.

sherlockchou86 avatar Jun 02 '21 05:06 sherlockchou86

@seahawks8 , did you get a chance to write a blog?

IamExperimenting avatar Nov 19 '21 01:11 IamExperimenting