Store CenterNet based MOT model and fpks
This project includes the Muti-object tracking model based on CenterNet. This repo contains traning codes, SDSP converted fpk file, and input&output tensor dimension info.
model tail and prediction effect- dataset includes the Caltech Pedestrain Dataset(which needs to be download), and its correspondent cleaning/modifying scripts
- google_api includes the official google api code based on centernet using tensorflow2, contains the whole model and traning code. I made some changes and fixed some bugs. Its post-process part is modified heavily. Be Careful.
- MultiObjTracking includes some scripts for trainig and eval, .config files for QAT training, scripts for pb and tflite conversion, model in tflites, scripts for SDSP convertor(have no permit to upload), and scripts to test tflite models.
- documents includes my notes for this project and some working logs
- fpk contains the final fpk results and model infos
- Dataset Preparation, need to follow PSACAL VOC format
- dataset and scripts are all in folder ./dataset. Follow the .md file as instruction
- Converting dataset into TFRecord format using google api
- (./MultiObjTracking/create_pascal_tf_record.py). changed a little. added reID infos
- Run ./MultiObjTracking/lib_update to package google api into python package
- Run ./MultiObjTracking/train.sh for traininig (using mot_qat.config for QAT training)
- Run ./MultiObjTracking/eval.sh to evaluate
- Run ./MultiObjTracking/tf2pb.sh to convert model to .pb files
- Run ./MultiObjTracking/pb2tflite.py to convert .pb models to tflite
- Run ./MultiObjTracking/tflite_test/tflite_test.py for pc simulation
- Using scripts in ./MultiObjTracking/SDSP/ for SDSP conversion
- 数据集准备,需要满足规定格式(PSACAL VOC)
- 在./dataset里有caltech数据集,和相应的转换代码,按照README运行即可
- 调用google api的脚本完成到tfrecord的转化
- (./MultiObjTracking/create_pascal_tf_record.py)有修改,加入了reID
- 根据需求修改google api
- 修改后的api已经上传gitlab
- 运行./MultiObjTracking/lib_update完成打包
- 运行./MultiObjTrackingtrain.sh训练
- 运行./MultiObjTrackingeval.sh测试
- 运行./MultiObjTrackingtf2pb转换模型成.pb
- 运行./MultiObjTrackingpb2tflite完成quant和tflite转换
- 运行./MultiObjTrackingtflite_test/tflite_test.py进行pc simulation
- 运行SDSP相关脚本