HarmonyOS鸿蒙Next中OMG工具转换onnx模型失败
HarmonyOS鸿蒙Next中OMG工具转换onnx模型失败
INFO: execute command: /mnt/d/HarmonyOS/DDK_tools_5.0.1.0next/DDK_tools_5.0.1.0/tools/tools_omg/ir/omg -model decoder_model.onnx --framework 5 --output ./test_model --input_shape=input_ids:1,20
I/AI_FMK (760): cl_register.cpp CLRegister(56)::"CLRegister start! clName:FMK_CL"
I/AI_FMK (760): cl_register.cpp RegisterComputeLibraryFunc(39)::"RegisterComputeLibraryFunc funName:Initialize"
I/AI_FMK (760): cl_register.cpp RegisterComputeLibraryFunc(39)::"RegisterComputeLibraryFunc funName:Finalize"
I/AI_FMK (760): cl_register.cpp RegisterComputeLibraryFunc(39)::"RegisterComputeLibraryFunc funName:SetOnServiceDiedCallback"
I/AI_FMK (760): cl_register.cpp RegisterComputeLibraryFunc(39)::"RegisterComputeLibraryFunc funName:GetOpsKernelInfoStores"
I/AI_FMK (760): cl_register.cpp RegisterComputeLibraryFunc(39)::"RegisterComputeLibraryFunc funName:GetGraphOptimizerObjs"
I/AI_FMK (760): cl_register.cpp RegisterComputeLibraryFunc(39)::"RegisterComputeLibraryFunc funName:GetGraphCompilerObjs"
I/AI_FMK (760): cl_register.cpp RegisterComputeLibraryFunc(39)::"RegisterComputeLibraryFunc funName:GetGraphExecutorFactoryObjs"
I/AI_FMK (760): cl_register.cpp RegisterComputeLibraryFunc(39)::"RegisterComputeLibraryFunc funName:GetCompatibleHelperObjs"
I/AI_FMK (760): cl_register.cpp RegisterComputeLibraryFunc(39)::"RegisterComputeLibraryFunc funName:GetDeviceEventHandlerObjs"
I/AI_FMK (760): cl_register.cpp RegisterComputeLibraryFunc(39)::"RegisterComputeLibraryFunc funName:GetCompiledTargetSaverObjs"
I/AI_FMK (760): cl_register.cpp RegisterComputeLibraryFunc(39)::"RegisterComputeLibraryFunc funName:GetTunedTargetCompilerObjs"
I/OMG_TOOL (760): main.cpp main(18)::"OMG run begin."
I/OMG_TOOL (760): command_util.cpp CheckHiaiVersionValid(817)::"set _version ir."
I/AI_FMK (760): omg.cpp Generate(183)::"Generate begin."
I/AI_FMK (760): ops_kernel_store_manager.cpp DlopenComputeLibrary(38)::"Open ComputeLibrary so: libcpucl_host.so"
I/AI_FMK (760): ops_kernel_store_manager.cpp DlopenComputeLibrary(38)::"Open ComputeLibrary so: libai_npucore_itf.so"
W/AI_FMK (760): ops_kernel_store_manager.cpp DlopenComputeLibrary(41)::"dlopen so failed: libai_npucore_itf.so: cannot open shared object file: No such file or directory"
I/AI_FMK (760): ops_kernel_store_manager.cpp DlCloseComputeLibrary(83)::"handle is null, not need to close library"
I/AI_FMK (760): model_util.cpp BuildOrigin2IRGraph(229)::"ModelUtil::BuildOrigin2IRGraph from file"
I/AI_FMK (760): proto_util.cpp ReadBytesFromBinaryFile(192)::"Read size:30205173"
W/AI_FMK (760): parser_factory.cpp LoadCustomOpLib(58)::"dlerror: libcustom_op.so: cannot open shared object file: No such file or directory"
I/AI_FMK (760): hiai_ir_aipp_compatible_adapter_api.cpp UpdateInputOrder(144)::"have no configDataNodes"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Unlink(78)::"this anchor is not connected to peer"
W/AI_FMK (760): anchor.cpp Un更多关于HarmonyOS鸿蒙Next中OMG工具转换onnx模型失败的实战教程也可以访问 https://www.itying.com/category-93-b0.html
3 回复
自问自答吧,经过几天不断试错,在op:/decoder/decoder/embed_tokens/Gather加入int64 to int32 cast算子解决
更多关于HarmonyOS鸿蒙Next中OMG工具转换onnx模型失败的实战系列教程也可以访问 https://www.itying.com/category-93-b0.html
在HarmonyOS鸿蒙Next中,使用OMG工具转换ONNX模型失败可能涉及以下原因:
- 模型兼容性问题:ONNX模型可能包含OMG工具不支持的算子或层,导致转换失败。
- 版本不匹配:ONNX模型使用的版本可能与OMG工具支持的版本不一致。
- 模型结构问题:模型结构不符合OMG工具的要求,如输入输出维度不匹配或缺少必要属性。
- 依赖库缺失:转换过程中缺少必要的依赖库或环境配置不正确。
- 工具Bug:OMG工具本身可能存在Bug,导致转换失败。
解决此类问题需检查模型兼容性、版本匹配性、结构合规性以及工具和环境配置。
在HarmonyOS鸿蒙Next中使用OMG工具转换ONNX模型失败,可能由以下原因导致:
-
模型兼容性:ONNX模型可能包含OMG工具不支持的算子或层。建议检查模型结构,确保所有算子均被支持。
-
版本不匹配:OMG工具与ONNX模型版本可能存在兼容性问题。确保使用最新版本的OMG工具,并检查ONNX模型是否符合其要求。
-
依赖缺失:转换过程中可能缺少必要的依赖库。确认所有相关依赖已正确安装。
-
输入参数错误:检查转换命令或配置文件中的参数是否正确设置。
建议查阅官方文档或社区论坛,获取更详细的解决方案。

