Other Parts Discussed in Thread: AM67A
器件型号: AM67A
您好、
我不熟悉 EdgeAI 工作流程、但我尝试编译现有的 深度估算 TI Model Zoo 中的特定模型进行比较 TIDL 版本 11_00_06_00 目标 AM67A 。 我遇到了一些问题、希望获得一些指导。
我想做的事情
我在中添加了以下自定义模型条目 edgeai-tidl-tools/examples/osrt_python/model_configs.py:
'de-7300' : create_model_config(
task_type="depth_estimation",
source=dict(
model_url="">software-dl.ti.com/.../fast-depth.onnx",
infer_shape=True,
),
preprocess=dict(
resize=256,
crop=224,
data_layout="NCHW",
resize_with_pad=False,
reverse_channels=False,
),
session=dict(
session_name="onnxrt",
model_path=os.path.join(models_base_path , "fast-depth.onnx"),
input_mean=[123.675, 116.28, 103.53],
input_scale=[0.017125, 0.017507, 0.017429],
input_optimization=True,
),
postprocess=dict(),
extra_info=dict(
num_images = numImages ,
num_classes = 1000
),
runtime_options = {
'advanced_options:inference_mode' : 2,
'advanced_options:num_cores' : 1,
'advanced_options:calibration_frames' : 12,
'advanced_options:calibration_iterations' : 12
}
)
问题
编译完成、但在内部完成 model-artifacts/de-7300/artifacts/
未.bin生成任何文件。 相反、我只获得tempDir包含临时.bin文件的。
当我尝试运行这些临时 bin 文件时、它们在运行时失败。
其他问题
我还尝试使用 edgeai-基准测试 但是我找不到一种方法来设置所需的 TIDL 版本 11_00_06_00 、这会导致版本不匹配错误。
问题
-
针对特定的 TIDL 版本 (11_00_06_00) 编译 Model Zoo 模型的正确过程是什么?
-
edgeai-benchmark 是否应该支持手动选择 TIDL 版本、或者它是否应该与工具存储库的内部版本相匹配?
任何指导或示例都将非常有帮助。
谢谢!
