Hello 地平线专家:
感谢
Hello 地平线专家:
感谢
您好:
你下载如下开发包试试
wget -c ftp://vrftp.horizon.ai/Open_Explorer/1.12.7/horizon_xj3_open_explorer_v1.12.7_20220520.tar.gz;里面就有你说那些文件;

我尝试进行一个算法模型转换,check preprocess build 都没有问题,但是在模块精度测试的时候发生如下问题,能帮忙看看啥问题吗?
error log 如下:
#for converted quanti model evaluation
quanti_model_file="./model_output/yolov5s_672x672_nv12_quantized_model.onnx"
quanti_input_layout="NHWC"
original_model_file="./model_output/yolov5s_672x672_nv12_original_float_model.onnx"
original_input_layout="NCHW"
if [[ $1 =~ "origin" ]]; then
model=$original_model_file
layout=$original_input_layout
input_offset=128
else
model=$quanti_model_file
layout=$quanti_input_layout
input_offset=128
fi
image_path="../../../01_common/data/coco/coco_val2017/images/"
anno_path="../../../01_common/data/coco/coco_val2017/annotations/instances_val2017.json"
if [ -z $2 ]; then
total_image_number=5000
else
total_image_number=$2
fi
# -------------------------------------------------------------------------------------------------------------
# shell command "sh 05_evaluate.sh" runs quanti full evaluation by default
# If quanti model eval is intended, please run the shell via command "sh 05_evaluate.sh quanti"
# If float model eval is intended, please run the shell via command "sh 05_evaluate.sh origin"#
# If quanti model quick eval test is intended, please run the shell via command "sh 05_evaluate.sh quanti 20"
# If float model quick eval test is intended, please run the shell via command "sh 05_evaluate.sh origin 20"
# -------------------------------------------------------------------------------------------------------------
# quanti model eval
python3 -u ../../det_evaluate.py \
--model=${model} \
--image_path=${image_path} \
--annotation_path=${anno_path} \
--input_layout=${layout} \
--total_image_number=${total_image_number} \
--input_offset ${input_offset}
Traceback (most recent call last):
File "../../det_evaluate.py", line 53, in
"quanti": int(os.environ.get('PARALLEL_PROCESS_NUM', 10)),
ValueError: invalid literal for int() with base 10: '