Get the support from D-Robotics FAE.
cd /root/DOSOD/ai_toolchain/x5
wget https://huggingface.co/D-Robotics/DOSOD/resolve/main/coco_val_100.tar
# or 'wget https://modelscope.cn/models/D-Robotics/DOSOD/resolve/master/coco_val_100.tar'
tar -xvf coco_val_100.tar
python3 gen_calibration_data.pyOption 1: Get the onnx model from 4.1 Train and export model
Option 2: Download the onnx model from DOSOD
cd /root/DOSOD/ai_toolchain/x5
wget https://huggingface.co/D-Robotics/DOSOD/resolve/main/dosod_mlp3x_l_rep.onnx
# or 'wget https://modelscope.cn/models/D-Robotics/DOSOD/resolve/master/dosod_mlp3x_l_rep.onnx'cd /root/DOSOD/ai_toolchain/x5
hb_mapper makertbin -c con_DOSOD_L.yaml --model-type onnxcd /root/DOSOD/ai_toolchain/x5
python3 infer_quant.py --image_path ./000000162415.jpg --onnx_quant_path ./model_output_l/dosod_mlp3x_l_rep-int16_quantized_model.onnxFollow hobot_dosod or DOSOD Usage. Run on RDK X5 board.
source /opt/tros/humble/setup.bash
ros2 launch hobot_dosod dosod.launch.py dosod_model_file_name:="config/dosod_mlp3x_l_rep-int16.bin"