# FairMOTVehicle
A fork of FairMOT used to do vehicle MOT(multi-object tracking).
You can refer to origin fork </br>
[FairMOT link](https://github.com/ifzhang/FairMOT)
#### 车辆跟踪,效果如下,此测试未经过训练(Results of vehicle mot is as follows, the video seq has not been trained): </br>
![image](https://github.com/CaptainEven/FairMOTVehicle/blob/master/results/frame/result_vehicle.gif)
</br>
#### 使用UA-DETRAC公开数据集训练FairMOT(Using UA-DETRAC as training dataset for vehicle tracking)
UA_DETRAC是一个公开的车辆跟踪数据集, 共8万多张训练数据集,每一张图的每一辆车都经过了精心的标注。</br>
[UA-DETRAC benchmark link](http://detrac-db.rit.albany.edu/) </br>
#### 训练方法(具体调用时,根据服务器目录, 修改自定义路径)
##### (1). 使用gen_labels_detrac.py脚本预处理原始的训练数据(Call gen_labels_detrac.py to prepare UA-DETRAC for training)
* 调用preprocess函数创建用于FairMOT的标准训练数据目录(Call preprocess function to make directory structure FairMOT required)
* 调用核心函数, gen_labels函数,解析UA-DETRAC的xml格式标签文件转换成FairMOT格式的标签文件,生成txt标签文件(Call the core function gen_labels to parse xml labels of UA-DETRAC and convert to the FairMOT label format, i.e txt file for each image)
* 调用gen_dot_train_file函数,生成用于训练的.train文件(Call gen_dot_train_file to generate dot train file for training(which contain all image path of training dataset))
##### (2). 编写json格式的cfg文件./src/lib/cfg/detrac.json(Edit a json configuration file for this training)
##### (3). 修改opts.py文件,修改训练参数,开始训练(Edit opts.py for trainig parameters)
* 修改--load_model参数, 选择一个断点模型, 如 ctdet_coco_dla_2x.pth, 从这个预训练模型开始训练
* 修改----data_cfg参数, 选择训练、测试数据,如 ../src/lib/cfg/detrac.json
* python or python3 ./src/train.py启动训练进程即可。
没有合适的资源?快使用搜索试试~ 我知道了~
FairMOTVehicle:A fork of FairMOT used to do vehicle MOT.用于跟踪车辆的多...
共91个文件
py:48个
train:9个
sh:8个
需积分: 50 5 下载量 156 浏览量
2021-05-04
18:42:59
上传
评论 3
收藏 20.01MB ZIP 举报
温馨提示
FairMOTVehicle A fork of FairMOT used to do vehicle MOT(multi-object tracking). You can refer to origin fork 车辆跟踪,效果如下,此测试未经过训练(Results of vehicle mot is as follows, the video seq has not been trained): 使用UA-DETRAC公开数据集训练FairMOT(Using UA-DETRAC as training dataset for vehicle tracking) UA_DETRAC是一个公开的车辆跟踪数据集, 共8万多张训练数据集,每一张图的每一辆车都经过了精心的标注。 训练方法(具体调用时,根据服务器目录, 修改自定义路径) (1). 使用gen_labels_detrac.py脚本
资源详情
资源评论
资源推荐
收起资源包目录
FairMOTVehicle-master.zip (91个子文件)
FairMOTVehicle-master
results
result_ep5.gif 9.88MB
frame
result_vehicle.gif 9.35MB
result1.jpg 139KB
result3.jpg 138KB
result2.jpg 139KB
requirements.txt 120B
src
gen_labels_mot16_car.py 3KB
_init_paths.py 231B
data
mot17.train 249KB
cuhksysu.val 53KB
cuhksysu.train 289KB
detrac.train 3.76MB
mot15.training 126KB
caltech.10k.val 385KB
citypersons.train 173KB
mot17.validation 70KB
eth.train 78KB
mot15.train 249KB
mot20.train 384KB
prw.train 150KB
caltech.train 1.01MB
mot15.val 90KB
prw.val 53KB
mot15.validation 123KB
caltech.val 1.12MB
citypersons.val 30KB
caltech.all 1.01MB
mot17.training 179KB
gen_data_path.py 709B
gen_labels_20.py 1KB
gen_labels_detrac.py 18KB
test_det.py 8KB
lib
datasets
dataset_factory.py 250B
dataset
jde.py 24KB
opts.py 16KB
models
data_parallel.py 5KB
networks
resnet_fpn_dcn.py 10KB
dlav0.py 22KB
config
__init__.py 66B
hrnet_w18.yaml 2KB
hrnet_w32.yaml 2KB
default.py 3KB
pose_dla_dcn.py 18KB
resnet_dcn.py 10KB
pose_hrnet.py 20KB
utils.py 2KB
scatter_gather.py 1KB
decode.py 4KB
model.py 4KB
losses.py 10KB
cfg
mot15.json 232B
mot17.json 230B
detrac.json 238B
mot20.json 230B
data.json 430B
tracker
matching.py 5KB
multitracker.py 17KB
multitracker_orig.py 15KB
basetrack.py 950B
utils
post_process.py 1KB
utils.py 6KB
image.py 8KB
trains
mot.py 5KB
base_trainer.py 5KB
train_factory.py 182B
logger.py 2KB
tracking_utils
visualization.py 4KB
io.py 3KB
log.py 492B
timer.py 1KB
kalman_filter.py 9KB
nms.py 212B
utils.py 16KB
evaluation.py 4KB
parse_config.py 1KB
gen_labels_15.py 3KB
demo.py 2KB
test_emb.py 4KB
track.py 9KB
train.py 5KB
experiments
all_hrnet.sh 110B
all_dla34.sh 206B
ft_mot20_dla34.sh 199B
all_res50.sh 111B
ft_mot15_dla34.sh 187B
MOT15_dataset_down.sh 197B
model_down_script.sh 560B
LICENSE 1KB
README.md 2KB
DATASET_DOWNLOAD_SCRIPT
Citypersons_dataset.sh 401B
cp_seqinfo_to_MOT15.py 570B
共 91 条
- 1
阿礅
- 粉丝: 25
- 资源: 4657
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论0