E10038 Invalid Dynamic Shape Argument

Symptom

Dimension size [%s] is invalid. Must be greater than 0.

Possible Cause

The shape values of each profile must be positive.

Solution

Set the shape values of each profile to positive in the [--dynamic_batch_size], [--dynamic_image_size], or [--dynamic_dims] argument.