代码拉取完成,页面将自动刷新
这是Ultra-Fast-Lane-Detection模型在ResNet18模型上的训练部分,修改来自于cfzd/Ultra-Fast-Lane-Detection
pip3.7 install -r requirements.txt
注:pillow建议安装较新版本, 与之对应的torchvision版本如果无法直接安装,可使用源码安装对应的版本,源码参考链接:https://github.com/pytorch/vision ,建议Pillow版本是9.1.0 torchvision版本是0.6.0训练模型需要使用所需的模型架构和 Tusimple 数据集的路径运行 train.py:
# 1p train perf
bash test/train_performance_1p.sh --data_path=数据集路径
# 8p train perf
bash test/train_performance_8p.sh --data_path=数据集路径
# 8p train full
bash test/train_full_8p.sh --data_path=数据集路径
# 8p eval
bash test/train_eval_8p.sh --data_path=数据集路径
# finetuning
bash test/train_finetune_1p.sh --data_path=数据集路径
注意:
Metric | FPS | Epochs | AMP_Type | Device |
---|---|---|---|---|
153 | 1 | O1 | 1p Npu | |
94.98% | 1669 | 100 | O1 | 8p Npu |
122 | 1 | O1 | 1p Gpu | |
95.46% | 832 | 100 | O1 | 8p Gpu |
For details about the public address of the code in this repository, you can get from the file public_address_statement.md
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。