Returns the path for storing variables checkpoints.
(export_dir)
| 49 | |
| 50 | |
| 51 | def get_variables_path(export_dir): |
| 52 | """Returns the path for storing variables checkpoints.""" |
| 53 | return os.path.join( |
| 54 | tf.compat.as_bytes(export_dir), |
| 55 | tf.compat.as_bytes(tf.compat.v1.saved_model.VARIABLES_DIRECTORY), |
| 56 | tf.compat.as_bytes(tf.compat.v1.saved_model.VARIABLES_FILENAME)) |
| 57 | |
| 58 | |
| 59 | def _get_assets_dir(export_dir): |