You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
warm_start_from:
Optional, string, checkpoint file path, used to indicate where to start the warm boot. Or the tf.estimator.WarmStartSettings class to configure all hot starts. If it is a serial path, all variables are hot-started, and the names of the Tensor and vocabulary are not changed.
why we need this param: Change a small amount of corpus later without restarting training
seq2annotation.trainer.train_model.py中添加warm_start_from=config.get("warm_start_dir", None):
estimator = tf.estimator.Estimator(
model_fn, instance_model_dir, cfg, estimator_params,
warm_start_from=config.get("warm_start_dir", None)
)
在configure.yaml配置中添加:warm_start_dir:
经过非专业测试,已无问题
The text was updated successfully, but these errors were encountered: