地平线x3开发资料,版本2.6.2b
旭日X3派用户手册https://developer.horizon.ai/api/v1/fileData/documents_pi/Quick_Start/Quick_Start.html地平线X3J3算法工具链https://developer.horizon.cc/api/v1/fileData/horizon_xj3_open_explorer_cn_doc/oe_mapper/source/advanced_content.html
操作流程
1.数据集打包
step1:在宿主机上,准备两个目录:
——地平线OE主目录:
/home1/liXinYi/Downloads/horizon_xj3_open_explorer_v2.6.2b-py38_20230606
——cityscapes数据集主目录:
/home1/liXinYi/Downloads/dataset/cityscapes
step2:在地平线OE主目录下,启动docker并挂载OE目录和数据集目录:
./run_docker_lxy.sh /home1/liXinYi/Downloads/dataset/cityscapes/,进入Docker环境
step3:在docker环境中,数据集主目录变成了/data/horizon_x3/data。且cityscapes_packer.py经查找发现在/open_explorer/ddk/samples/ai_toolchain/horizon_model_train_sample/scripts/tools/datasets/cityscapes_packer.py
step4:进行训练数据集打包:python3 ./ddk/samples/ai_toolchain/horizon_model_train_sample/scripts/tools/datasets/cityscapes_packer.py --src-data-dir /data/horizon_x3/data --split-name train --pack-type lmdb
step5:进行验证数据集打包:python3 ./ddk/samples/ai_toolchain/horizon_model_train_sample/scripts/tools/datasets/cityscapes_packer.py --src-data-dir /data/horizon_x3/data --split-name val --pack-type lmdb
step6:退出docker环境:exit
step7: 退出docker后,在宿主机cityscapes数据集主目录下发现打包好的目录data.mdb、lock.mdb
标签:deeplav3,2024.4,训练,--,cityscapes,主目录,horizon,x3,data From: https://blog.csdn.net/weixin_61044335/article/details/137265003