E10011 Invalid --input_shape Argument

Symptom

Argument [%s] for [--input_shape] is invalid. Shape values must be positive integers. The error value is: %s.

Possible Cause

In static shape scenarios, set the shape values of each input node in the [--input_shape] to positive integers.

Solution

  1. In static shape scenarios, set the shape values in [--input_shape] to positive integers.
  2. In dynamic shape scenarios, add the related dynamic-input option in your command line, such as [--dynamic_batch_size], [--dynamic_image_size], or [--dynamic_dims].