I failed to compile the pretrained yolov5 model edgeaiyolov5(https://github.com/TexasInstruments/edgeai-yolov5/tree/master/pretrained_models/models/detection/coco/edgeai-yolov5)
and showing this error when i follow up this jupyter notebook- github.com/.../tutorial_detection.ipynb
Please find if anything i missed
edited pipeline- pipeline_configs = {
'od-mlpefmnv1': dict(
task_type='detection',
calibration_dataset=calib_dataset,
input_dataset=val_dataset,
preprocess=preproc_transforms.get_transform_onnx((640,640), (640,640), backend='cv2'),
session=session_type(**onnx_session_cfg,
runtime_options=runtime_options,
model_path='/home/root/notebooks/my_folder/yolov5s6_640_ti_lite_37p4_56p0.onnx'),
postprocess=postproc_transforms.get_transform_detection_onnx(),
metric=dict(label_offset_pred=datasets.coco_det_label_offset_90to90()),
model_info=dict(metric_reference={'accuracy_ap[.5:.95]%':23.0})
)
}
print(pipeline_configs)
error-
# run the model compliation/import and inference
tools.run_accuracy(settings, work_dir, pipeline_configs)