{"action":"created","issue":{"url":"https://api.github.com/repos/allenai/allennlp/issues/899","repository_url":"https://api.github.com/repos/allenai/allennlp","labels_url":"https://api.github.com/repos/allenai/allennlp/issues/899/labels{/name}","comments_url":"https://api.github.com/repos/allenai/allennlp/issues/899/comments","events_url":"https://api.github.com/repos/allenai/allennlp/issues/899/events","html_url":"https://github.com/allenai/allennlp/issues/899","id":298572050,"number":899,"title":"Printing additional variables from model's forward( ) after it has already been trained?","user":{"login":"maoredman","id":10485739,"avatar_url":"https://avatars0.githubusercontent.com/u/10485739?v=4","gravatar_id":"","url":"https://api.github.com/users/maoredman","html_url":"https://github.com/maoredman","followers_url":"https://api.github.com/users/maoredman/followers","following_url":"https://api.github.com/users/maoredman/following{/other_user}","gists_url":"https://api.github.com/users/maoredman/gists{/gist_id}","starred_url":"https://api.github.com/users/maoredman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maoredman/subscriptions","organizations_url":"https://api.github.com/users/maoredman/orgs","repos_url":"https://api.github.com/users/maoredman/repos","events_url":"https://api.github.com/users/maoredman/events{/privacy}","received_events_url":"https://api.github.com/users/maoredman/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-02-20T12:13:42Z","updated_at":"2018-02-20T13:08:18Z","closed_at":null,"author_association":"NONE","body":"Hi, I've been through the tutorial on making predictions with a trained model (https://github.com/allenai/allennlp/blob/master/tutorials/getting_started/making_predictions_and_creating_a_demo.md)\r\n\r\nI'm wondering if there's a way of printing additional variables from `academic_paper_classifier.py`'s `forward()` function once a tar.gz model archive has already been generated from training? For example, if I have finished training, but now decide I want to additionally write the `encoded_abstract` variable to the output JSON generated by `python3 -m allennlp.run predict`. Is there a better way than retraining the model from scratch?"},"comment":{"url":"https://api.github.com/repos/allenai/allennlp/issues/comments/366971870","html_url":"https://github.com/allenai/allennlp/issues/899#issuecomment-366971870","issue_url":"https://api.github.com/repos/allenai/allennlp/issues/899","id":366971870,"user":{"login":"maoredman","id":10485739,"avatar_url":"https://avatars0.githubusercontent.com/u/10485739?v=4","gravatar_id":"","url":"https://api.github.com/users/maoredman","html_url":"https://github.com/maoredman","followers_url":"https://api.github.com/users/maoredman/followers","following_url":"https://api.github.com/users/maoredman/following{/other_user}","gists_url":"https://api.github.com/users/maoredman/gists{/gist_id}","starred_url":"https://api.github.com/users/maoredman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maoredman/subscriptions","organizations_url":"https://api.github.com/users/maoredman/orgs","repos_url":"https://api.github.com/users/maoredman/repos","events_url":"https://api.github.com/users/maoredman/events{/privacy}","received_events_url":"https://api.github.com/users/maoredman/received_events","type":"User","site_admin":false},"created_at":"2018-02-20T13:08:18Z","updated_at":"2018-02-20T13:08:18Z","author_association":"NONE","body":"Ah yes, everything works fine. Thanks Mark!"}}
{"actor":{"display_login":"maoredman"}}