77
- 收藏
- 点赞
- 分享
- 举报
SS928V100: atc生成的om文件格式 PICO 和 IMOD 有啥区别?
官方的SDK中,查看文件头如下:
(base) ebaina@ubuntu:~/Downloads/SS928V100_SDK_V2.0.2.2/smp/a55_linux/mpp/sample/svp$ hexdump -C ./npu/data/model/resnet50.om|head
00000000 49 4d 4f 44 00 01 00 00 00 00 00 20 00 00 00 00 |IMOD....... ....|
00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
00000040 00 00 00 00 00 00 00 00 00 00 00 00 e1 ed 19 03 |................|
00000050 00 00 00 00 52 65 73 4e 65 74 2d 35 30 00 00 00 |....ResNet-50...|
00000060 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
00000090 00 00 00 00 00 00 00 00 02 00 00 00 01 00 00 00 |................|
000000a0 31 2e 31 31 2e 7a 2e 30 00 00 00 00 00 00 00 00 |1.11.z.0........|
000000b0 00 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 |................|
(base) ebaina@ubuntu:~/Downloads/SS928V100_SDK_V2.0.2.2/smp/a55_linux/mpp/sample/svp$ hexdump -C ./svp_npu/data/model/resnet50.om|head
00000000 50 49 43 4f 00 00 00 00 67 2c 1a 03 e0 b5 19 03 |PICO....g,......|
00000010 20 00 00 00 00 f0 83 00 67 2c 1a 03 00 00 00 00 | .......g,......|
00000020 9c 54 00 00 71 12 71 12 00 d8 00 d8 00 d8 f0 57 |.T..q.q........W|
00000030 24 04 ff ff ef 09 ef 09 00 d8 00 d8 00 d8 f0 57 |$..............W|
00000040 20 35 ff ff ef 09 ef 09 00 d8 00 d8 00 d8 f0 57 | 5.............W|
00000050 14 ae ff ff 5d 14 5d 14 00 d8 00 d8 00 d8 f0 57 |....].]........W|
00000060 07 43 00 00 ed 12 ed 12 00 d8 00 d8 00 d8 f0 57 |.C.............W|
00000070 46 d1 00 00 cd 0e cd 0e 00 d8 00 d8 00 d8 f0 57 |F..............W|
00000080 46 27 ff ff ef 09 ef 09 00 d8 00 d8 00 d8 f0 57 |F'.............W|
00000090 f1 9c ff ff 82 10 82 10 00 d8 00 d8 00 d8 f0 57 |...............W|
两个路径中都有resnet50.om文件,一个文件头是IMOD,另一个是PICO,而且两个文件不可以替换,替换后会报错 Error, the loaded OM is not the OM of the Pico!,如下:
~/nfs # ./sample_svp_npu_main 0
[level]:Info,[func]:sample_common_svp_check_sys_init [line]:104 [info]:Svp mpi init ok!
[level]:Info,[func]:sample_svp_npu_acl_init [line]:112 [info]:svp acl init success!
[level]:Info,[func]:sample_svp_npu_acl_init [line]:121 [info]:open device 0 success!
[level]:Info,[func]:sample_svp_npu_acl_init [line]:131 [info]:get run mode success!
[Func]:svp_npu_model_load_check_params [Line]:625 [Info]:Error, the loaded OM is not the OM of the Pico!
[Func]:svp_npu_model_load_from_mem [Line]:641 [Info]:Error, check params failed!
[level]:Error,[func]:sample_common_svp_npu_load_model [line]:247 [info]:load model from mem failed, error code is 100000!
[level]:Error,[func]:sample_svp_npu_acl_resnet50 [line]:416 [info]:load model failed!
[level]:Info,[func]:sample_svp_npu_acl_deinit [line]:89 [info]:end to reset device is 0
[level]:Info,[func]:sample_svp_npu_acl_deinit [line]:95 [info]:end to finalize acl
[level]:Info,[func]:sample_common_svp_check_sys_exit [line]:120 [info]:Svp mpi exit ok!
~/nfs #
是atc版本不一致吗?如何指定文件头?还是atc参数不一致?
我来回答
回答1个
时间排序
认可量排序
或将文件直接拖到这里
悬赏:
E币
网盘
* 网盘链接:
* 提取码:
悬赏:
E币
Markdown 语法
- 加粗**内容**
- 斜体*内容*
- 删除线~~内容~~
- 引用> 引用内容
- 代码`代码`
- 代码块```编程语言↵代码```
- 链接[链接标题](url)
- 无序列表- 内容
- 有序列表1. 内容
- 缩进内容
- 图片![alt](url)
相关问答
-
2024-09-26 09:48:12
-
2024-09-25 10:01:10
-
2023-09-06 15:50:07
-
2024-10-17 10:58:17
-
2023-12-13 10:47:08
-
2023-08-21 16:36:59
-
2024-07-12 13:32:26
-
2023-12-11 17:03:30
-
2024-10-17 10:51:57
-
2024-12-06 11:18:33
-
2023-05-07 12:13:56
-
2024-01-26 16:58:36
-
2024-12-12 11:57:32
-
2024-03-07 17:28:32
-
2023-12-12 15:53:49
-
2018-09-28 09:31:19
-
52024-12-19 11:50:41
-
2024-07-26 10:55:50
-
2023-07-20 15:41:44
无更多相似问答 去提问
点击登录
-- 积分
-- E币
提问
—
收益
—
被采纳
—
我要提问
切换马甲
上一页
下一页
悬赏问答
-
5SS928的emmc有32GB,bootargs设置使用16GB,但是为啥能用的只有rootfs的大小
-
33SS928怎样烧写ubuntu系统
-
10ToolPlatform下载rootfs提示网络失败
-
10谁有GK7205V500的SDK
-
5Hi3516CV610 烧录不进去
-
10Hi3559AV100 芯片硬解码h265编码格式的视频时出现视频播放错误,解码错误信息 s32PackErr:码流有错
-
5海思SS928 / SD3403的sample_venc.c摄像头编码Demo中,采集到的摄像头的YUV数据在哪个相关的函数中?
-
5海鸥派openEuler无法启动网卡,连接WIFI存在问题
-
66有没有ISP相关的巨佬帮忙看看SS928对接IMX347的图像问题
-
50求助hi3559与FPGA通过SLVS-EC接口对接问题
举报反馈
举报类型
- 内容涉黄/赌/毒
- 内容侵权/抄袭
- 政治相关
- 涉嫌广告
- 侮辱谩骂
- 其他
详细说明
提醒
你的问题还没有最佳答案,是否结题,结题后将扣除20%的悬赏金
取消
确认
提醒
你的问题还没有最佳答案,是否结题,结题后将根据回答情况扣除相应悬赏金(1回答=1E币)
取消
确认