dangweili / pedestrian-attribute-recognition-pytorch

A simple baseline for pedestrian attribute recognition in surveillance scenarios
334 stars 81 forks source link

How can I make a .mat file for my own dataset to train the DeepMAR model? #27

Closed GayatriPurandharT closed 5 years ago

GayatriPurandharT commented 5 years ago

I see that ./dataset/peta/ contains PETA.mat file. This file contains mapping between images and labels. I also understand that script/dataset/transform_peta.py converts .mat file to .pkl. I need to know how to generate .mat file for my own images. Thank you.

dangweili commented 5 years ago

You can generate the pkl file directly for your own dataset for training. The mat file is not necessary.

GayatriPurandharT commented 5 years ago

Thank you, I understand now.