Does anyone has experience with mixed-precision training using the tensorflow estimator api?
I tried casting my inputs to tf.float16 and the results of the network back to tf.float32. For scaling the loss I used tf.contrib.mixed_precision.LossScaleOptimizer.
The error messages I get are relatively uninformative: "Tried to convert 'x' to a tensor and failed. Error: None values not supported",
xcontainsNonevalues, which are not supported in the conversion to a tensor. Eitherxis erroneously gettingNones as values (in which case you need to locate the error producing this), or this is expected but you need to sanitise the data before converting it to a tensor. - iacob