{"action":"created","issue":{"url":"https://api.github.com/repos/tensorflow/models/issues/502","repository_url":"https://api.github.com/repos/tensorflow/models","labels_url":"https://api.github.com/repos/tensorflow/models/issues/502/labels{/name}","comments_url":"https://api.github.com/repos/tensorflow/models/issues/502/comments","events_url":"https://api.github.com/repos/tensorflow/models/issues/502/events","html_url":"https://github.com/tensorflow/models/issues/502","id":180854970,"number":502,"title":"Function to delete a checkpoint?","user":{"login":"DavidNemeskey","id":690386,"avatar_url":"https://avatars.githubusercontent.com/u/690386?v=3","gravatar_id":"","url":"https://api.github.com/users/DavidNemeskey","html_url":"https://github.com/DavidNemeskey","followers_url":"https://api.github.com/users/DavidNemeskey/followers","following_url":"https://api.github.com/users/DavidNemeskey/following{/other_user}","gists_url":"https://api.github.com/users/DavidNemeskey/gists{/gist_id}","starred_url":"https://api.github.com/users/DavidNemeskey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DavidNemeskey/subscriptions","organizations_url":"https://api.github.com/users/DavidNemeskey/orgs","repos_url":"https://api.github.com/users/DavidNemeskey/repos","events_url":"https://api.github.com/users/DavidNemeskey/events{/privacy}","received_events_url":"https://api.github.com/users/DavidNemeskey/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-10-04T10:16:56Z","updated_at":"2016-10-05T00:10:00Z","closed_at":null,"body":"## tf.train\r\n\r\nThere is a way to delete entries from the checkpoint list via `tf.train.update_checkpoint_state()`; however, the orphan checkpoint files still remain in `save_dir`. There should be either a function that deletes checkpoint files or a boolean parameter to `update_checkpoint_state()` that lets the user specify whether these orphan files should be deleted or not.\r\n\r\nOn a related note, the name of the `latest_filename` parameter is a bit unfortunate, because at first glance, one might think it points to the latest checkpoint file (i.e. as `model_checkpoint_path` does)."},"comment":{"url":"https://api.github.com/repos/tensorflow/models/issues/comments/251548971","html_url":"https://github.com/tensorflow/models/issues/502#issuecomment-251548971","issue_url":"https://api.github.com/repos/tensorflow/models/issues/502","id":251548971,"user":{"login":"tatatodd","id":5453737,"avatar_url":"https://avatars.githubusercontent.com/u/5453737?v=3","gravatar_id":"","url":"https://api.github.com/users/tatatodd","html_url":"https://github.com/tatatodd","followers_url":"https://api.github.com/users/tatatodd/followers","following_url":"https://api.github.com/users/tatatodd/following{/other_user}","gists_url":"https://api.github.com/users/tatatodd/gists{/gist_id}","starred_url":"https://api.github.com/users/tatatodd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tatatodd/subscriptions","organizations_url":"https://api.github.com/users/tatatodd/orgs","repos_url":"https://api.github.com/users/tatatodd/repos","events_url":"https://api.github.com/users/tatatodd/events{/privacy}","received_events_url":"https://api.github.com/users/tatatodd/received_events","type":"User","site_admin":false},"created_at":"2016-10-05T00:10:00Z","updated_at":"2016-10-05T00:10:00Z","body":"@DavidNemeskey are you aware of `tf.train.Saver`, which manages checkpoint files for you?  That might be a better way to handle checkpoint files, rather than dealing with the low-level functions:\r\nhttps://www.tensorflow.org/versions/r0.11/api_docs/python/state_ops.html#Saver\r\n\r\n"}}
{"actor":{"display_login":"tatatodd"}}