{"action":"created","issue":{"url":"https://api.github.com/repos/tensorflow/tensorflow/issues/14713","repository_url":"https://api.github.com/repos/tensorflow/tensorflow","labels_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/14713/labels{/name}","comments_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/14713/comments","events_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/14713/events","html_url":"https://github.com/tensorflow/tensorflow/issues/14713","id":275298527,"number":14713,"title":"Estimator API and transfer learning/fine-tuning","user":{"login":"jmaye","id":2109115,"avatar_url":"https://avatars2.githubusercontent.com/u/2109115?v=4","gravatar_id":"","url":"https://api.github.com/users/jmaye","html_url":"https://github.com/jmaye","followers_url":"https://api.github.com/users/jmaye/followers","following_url":"https://api.github.com/users/jmaye/following{/other_user}","gists_url":"https://api.github.com/users/jmaye/gists{/gist_id}","starred_url":"https://api.github.com/users/jmaye/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmaye/subscriptions","organizations_url":"https://api.github.com/users/jmaye/orgs","repos_url":"https://api.github.com/users/jmaye/repos","events_url":"https://api.github.com/users/jmaye/events{/privacy}","received_events_url":"https://api.github.com/users/jmaye/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":21,"created_at":"2017-11-20T10:06:12Z","updated_at":"2018-02-06T23:30:38Z","closed_at":null,"author_association":"NONE","body":"I've been using the Estimator API with the model_fn and input_fn as shown in the official examples (https://github.com/tensorflow/models/blob/master/official/resnet/cifar10_main.py for instance).\r\n\r\nThis all looks great and wonderful. However, I'm now facing an issue for going further with it. I'd like to use a model trained on a dataset and transfer it to another dataset. In practice, I would like to take the weights from the trained model up to the softmax layer and only initialize randomly this final layer. Then, I can do fine-tuning on the new dataset, which has different labels for instance.\r\n\r\nI haven't found a way to do what I want. Is it something missing in the interface? Can we have something  like a variable list to restore from a checkpoint and some other not? Ideally, it would be also good to specify variables to be frozen. Does that all make sense?"},"comment":{"url":"https://api.github.com/repos/tensorflow/tensorflow/issues/comments/363602242","html_url":"https://github.com/tensorflow/tensorflow/issues/14713#issuecomment-363602242","issue_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/14713","id":363602242,"user":{"login":"skye","id":88808,"avatar_url":"https://avatars1.githubusercontent.com/u/88808?v=4","gravatar_id":"","url":"https://api.github.com/users/skye","html_url":"https://github.com/skye","followers_url":"https://api.github.com/users/skye/followers","following_url":"https://api.github.com/users/skye/following{/other_user}","gists_url":"https://api.github.com/users/skye/gists{/gist_id}","starred_url":"https://api.github.com/users/skye/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/skye/subscriptions","organizations_url":"https://api.github.com/users/skye/orgs","repos_url":"https://api.github.com/users/skye/repos","events_url":"https://api.github.com/users/skye/events{/privacy}","received_events_url":"https://api.github.com/users/skye/received_events","type":"User","site_admin":false},"created_at":"2018-02-06T23:30:38Z","updated_at":"2018-02-06T23:30:38Z","author_association":"MEMBER","body":"Can we close this issue?"}}
{"actor":{"display_login":"skye"}}