I used tensorflow1.6 to train a SSD-inception-v2 model from scratch. There were no warnings or errors. Then I exported the model using the following flags :
--pipeline_config_path experiments/ssd_inception_v2/ssd_inception_v2.config
--trained_checkpoint_prefix experiments/ssd_inception_v2/train/model.ckpt-400097
--output_directory experiments/ssd_inception_v2/frozen_graphs/
After that, I uploaded the saved_mode.pb to a Google Cloud Storage bucket, created a model in ml-engine and created a version (I did use the --runtime-version=1.6).
Finally, I used the gcloud command to ask for an online prediction but obtained the following error:
{
"error": "Prediction failed: Error during model execution: AbortionError(code=StatusCode.INVALID_ARGUMENT, details="The second input must be a scalar, but it has shape [1]\n\t [[Node: map/while/decode_image/cond_jpeg/cond_png/DecodePng/Switch = Switch[T=DT_STRING, _class=["loc:/TensorArrayReadV3"], _device="/job:localhost/replica:0/task:0/device:CPU:0"](map/while/TensorArrayReadV3, map/while/decode_image/is_jpeg)]]")"
}
The log describes the problem arisen while the model was executing.
gcloudcommand? - rhaertel80