E10012 Invalid --input_shape Argument

Symptom

[--dynamic_batch_size] is included, but the dimension count of the dynamic-shape input configured in [--input_shape] is less than 1.

Possible Cause

As [--dynamic_batch_size] is included, the dimension count of the dynamic-shape input configured in [--input_shape] must not be 0.

Solution

  1. In static shape scenarios, remove the [--dynamic_batch_size] option from your command line.
  2. In dynamic shape scenarios, set the corresponding axis of the dynamic-shape input in [--input_shape] to –1.