无法推断具有动态形状的自定义模型
内容类型: 错误讯息 | 文章 ID: 000090776 | 上次审核日期: 2023 年 11 月 13 日
RuntimeError: Check 'std::get<0>(valid)' failed at inference/src/ie_core.cpp:1414:
InferenceEngine::Core::LoadNetwork doesn't support inputs having dynamic shapes. Use ov::Core::compile_model API instead. Dynamic inputs are :{ input:'images,images', shape={?,3,?,?}}
RuntimeError: [GENERAL_ERROR] /home/jenkins/agent/workspace/private-ci/ie/build-linux-ubuntu20/b/repos/openvino/inference-engine/src/vpu/common/src/ngraph/transformations/dynamic_to_static_shape.cpp:48 DynamicToStaticShape transformation: got dynamic rank for StatefulPartitionedCall/mobilenetv2_1.00_224/global_average_pooling2d_1/Mean_Squeeze__74 with type Squeeze ver. 0 while only static is supported