estimator
estimator copied to clipboard
TensorFlow Estimator
Here need to do a conversion, otherwise, the user may change the input_receiver.features that will cause the input_receiver.features to be changed.
First export mechanism in BestExporter will export worse model when trainig tasks restart. @tensorflower-gardener This bug is attached with this [issue](https://github.com/tensorflow/tensorflow/issues/47396). Please review it and give some suggestions. Thanks.
This PR adds support for using a SavedModel with `WarmStartSettings` by passing `[saved_model_export_dir]/variables` to `WarmStartSettings.ckpt_to_initialize_from` as discussed in https://github.com/tensorflow/tensorflow/issues/25400. It may be nicer to just change `WarmStartSettings` to accept the...
### Why In estimator, we need to print final best eval result when using the best exporter.
when run in distribute mode, it will cause race condition of `_save_first_checkpoint`. So, we should judge if its task_type is chief.
Cherrypicking fix for GitHub Issue https://github.com/tensorflow/tensorflow/issues/28018 to Estimator 1.15 branch. PiperOrigin-RevId: 314226004
Replace the deprecated `inspect.getargspec` with `inspect.getfullargspec` as the first is deprecated in favor of the latter. See here: https://docs.python.org/3/library/inspect.html#inspect.getargspec
deepcopy of input_receiver.features avoid changing input_receiver.features in model_fn