算能科技
直播中

小峰

12年用户 912经验值
私信 关注
[问答]

SE5上运行yolact时出错[error] Cannot reset_dev_data when own_dev_data is true.怎么解决?

在SE5上按照官方教程运行yolact时出现错误[error] Cannot reset_dev_data when own_dev_data is true.该怎么解决呢?
linaro@BM1684-180:/data/yolact_object_demo/python$ python3 yolact_bmcv.py --cfgfile configs/yolact_base.cfg --model ../data/models/yolact_base_54_800000_fp32_b1.bmodel --input_path ../data/images/
DEBUG 07/25/2023 08:46:45.843 548337385488 sophon_inference.py:23] __init__ - 1 TPUs Detected, using TPU 0

[BMRT][bmcpu_setup:209] INFO : cpu.so already exist, don't dlopen
bmcpu init: skip cpu_user_defined
libusercpu.so already exist, user cpu layer is enable
open usercpu.so, init user_cpu_init
[BMRT][load_bmodel:784] INFO : Loading bmodel from [../data/models/yolact_base_54_800000_fp32_b1.bmodel]. Thanks for your patience...
[BMRT][load_bmodel:748] INFO : pre net num: 0, load net num: 1
WARNING 07/25/2023 08:46:46.177 548337385488 sophon_inference.py:28] __init__ - 1 graphs in ../data/models/yolact_base_54_800000_fp32_b1.bmodel, using yolact_base
INFO 07/25/2023 08:46:46.180 548337385488 sophon_inference.py:101] __init__ - ===========================================
INFO 07/25/2023 08:46:46.181 548337385488 sophon_inference.py:102] __init__ - BModel: ../data/models/yolact_base_54_800000_fp32_b1.bmodel
INFO 07/25/2023 08:46:46.181 548337385488 sophon_inference.py:103] __init__ - Input : {'x.1': [1, 3, 550, 550]}, {'x.1': Dtype.BM_FLOAT32}
INFO 07/25/2023 08:46:46.181 548337385488 sophon_inference.py:104] __init__ - Output: {'proto_out0.1': [1, 138, 138, 32], 'loc.1': [1, 19248, 4], 'conf.1': [1, 19248, 81], 'mask.1': [1, 19248, 32]}, {'proto_out0.1': Dtype.BM_FLOAT32, 'loc.1': Dtype.BM_FLOAT32, 'conf.1': Dtype.BM_FLOAT32, 'mask.1': Dtype.BM_FLOAT32}
INFO 07/25/2023 08:46:46.181 548337385488 sophon_inference.py:105] __init__ - ===========================================
../data/models/yolact_base_54_800000_fp32_b1.bmodel is loaded.
Open /dev/jpu successfully, device index = 0, jpu fd = 27, vpp fd = 28
[2023-07-25 08:46:46.449] [error] Cannot reset_dev_data when own_dev_data is true.

更多回帖

发帖
×
20
完善资料,
赚取积分