{"action":"created","issue":{"url":"https://api.github.com/repos/LLNL/lbann/issues/268","repository_url":"https://api.github.com/repos/LLNL/lbann","labels_url":"https://api.github.com/repos/LLNL/lbann/issues/268/labels{/name}","comments_url":"https://api.github.com/repos/LLNL/lbann/issues/268/comments","events_url":"https://api.github.com/repos/LLNL/lbann/issues/268/events","html_url":"https://github.com/LLNL/lbann/pull/268","id":310112502,"number":268,"title":"Freezer","user":{"login":"JaeseungYeom","id":12957608,"avatar_url":"https://avatars1.githubusercontent.com/u/12957608?v=4","gravatar_id":"","url":"https://api.github.com/users/JaeseungYeom","html_url":"https://github.com/JaeseungYeom","followers_url":"https://api.github.com/users/JaeseungYeom/followers","following_url":"https://api.github.com/users/JaeseungYeom/following{/other_user}","gists_url":"https://api.github.com/users/JaeseungYeom/gists{/gist_id}","starred_url":"https://api.github.com/users/JaeseungYeom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JaeseungYeom/subscriptions","organizations_url":"https://api.github.com/users/JaeseungYeom/orgs","repos_url":"https://api.github.com/users/JaeseungYeom/repos","events_url":"https://api.github.com/users/JaeseungYeom/events{/privacy}","received_events_url":"https://api.github.com/users/JaeseungYeom/received_events","type":"User","site_admin":false},"labels":[{"id":374636004,"url":"https://api.github.com/repos/LLNL/lbann/labels/enhancement","name":"enhancement","color":"84b6eb","default":true},{"id":808127779,"url":"https://api.github.com/repos/LLNL/lbann/labels/review%20requested","name":"review requested","color":"a053e0","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-03-30T16:45:31Z","updated_at":"2018-03-30T21:58:34Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/LLNL/lbann/pulls/268","html_url":"https://github.com/LLNL/lbann/pull/268","diff_url":"https://github.com/LLNL/lbann/pull/268.diff","patch_url":"https://github.com/LLNL/lbann/pull/268.patch"},"body":"To avoid gradient computation and weight updates with pre-trained layers, provide 'freeze' interface.\r\n- layers and weights get new freeze(), unfreeze(), and is_frozen() methods.\r\n- 'freeze: true' in the prototext block of a layer freezes the layer.\r\n- The default is unfrozen.\r\n- When a layer gets frozen, it also freezes the weights associated with it.\r\n- If a weight is shared, and one layer relying on it is frozen and another is not, throw exception.\r\n- Given a frozen layer, freeze layers that precede it if that makes senses for the particular model, such as sequential or siamese. For othe models, users can manually control the behaivor by indicating whether to freeze each layer in the model description prototext."},"comment":{"url":"https://api.github.com/repos/LLNL/lbann/issues/comments/377632781","html_url":"https://github.com/LLNL/lbann/pull/268#issuecomment-377632781","issue_url":"https://api.github.com/repos/LLNL/lbann/issues/268","id":377632781,"user":{"login":"timmoon10","id":4406448,"avatar_url":"https://avatars0.githubusercontent.com/u/4406448?v=4","gravatar_id":"","url":"https://api.github.com/users/timmoon10","html_url":"https://github.com/timmoon10","followers_url":"https://api.github.com/users/timmoon10/followers","following_url":"https://api.github.com/users/timmoon10/following{/other_user}","gists_url":"https://api.github.com/users/timmoon10/gists{/gist_id}","starred_url":"https://api.github.com/users/timmoon10/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timmoon10/subscriptions","organizations_url":"https://api.github.com/users/timmoon10/orgs","repos_url":"https://api.github.com/users/timmoon10/repos","events_url":"https://api.github.com/users/timmoon10/events{/privacy}","received_events_url":"https://api.github.com/users/timmoon10/received_events","type":"User","site_admin":false},"created_at":"2018-03-30T21:58:34Z","updated_at":"2018-03-30T21:58:34Z","author_association":"COLLABORATOR","body":"That's a good point. This approach could also be useful for training the generator and discriminator in GANs (@samadejacobs)."}}
{"actor":{"display_login":"timmoon10"}}