{"action":"created","comment":{"url":"https://api.github.com/repos/NVIDIA/DIGITS/pulls/comments/40134321","id":40134321,"diff_hunk":"@@ -0,0 +1,162 @@\n+# Copyright (c) 2015, NVIDIA CORPORATION.  All rights reserved.\n+\n+import os\n+import digits\n+import re\n+import subprocess\n+import time\n+import tempfile\n+import flask\n+\n+from framework import Framework\n+from digits import utils\n+from digits.config import config_value\n+from digits.model.tasks import TorchTrainTask\n+from digits.utils import subclass, override\n+from errors import Error, NetworkVisualizationError, BadNetworkError\n+\n+@subclass\n+class TorchFramework(Framework):\n+\n+    \"\"\"\n+    Defines required methods to interact with the Torch framework\n+    \"\"\"\n+\n+    # short descriptive name\n+    NAME = 'Torch (experimental)'","path":"digits/frameworks/torch_framework.py","position":26,"original_position":26,"commit_id":"4e2a55ddb1d03777870199a813c117a346128113","original_commit_id":"4e2a55ddb1d03777870199a813c117a346128113","user":{"login":"lukeyeager","id":687269,"avatar_url":"https://avatars.githubusercontent.com/u/687269?v=3","gravatar_id":"","url":"https://api.github.com/users/lukeyeager","html_url":"https://github.com/lukeyeager","followers_url":"https://api.github.com/users/lukeyeager/followers","following_url":"https://api.github.com/users/lukeyeager/following{/other_user}","gists_url":"https://api.github.com/users/lukeyeager/gists{/gist_id}","starred_url":"https://api.github.com/users/lukeyeager/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lukeyeager/subscriptions","organizations_url":"https://api.github.com/users/lukeyeager/orgs","repos_url":"https://api.github.com/users/lukeyeager/repos","events_url":"https://api.github.com/users/lukeyeager/events{/privacy}","received_events_url":"https://api.github.com/users/lukeyeager/received_events","type":"User","site_admin":false},"body":"Oh I see. This isn't a `TrainTask`, so it doesn't get pickled. Nevermind.","created_at":"2015-09-22T19:44:51Z","updated_at":"2015-09-22T19:44:51Z","html_url":"https://github.com/NVIDIA/DIGITS/pull/324#discussion_r40134321","pull_request_url":"https://api.github.com/repos/NVIDIA/DIGITS/pulls/324","_links":{"self":{"href":"https://api.github.com/repos/NVIDIA/DIGITS/pulls/comments/40134321"},"html":{"href":"https://github.com/NVIDIA/DIGITS/pull/324#discussion_r40134321"},"pull_request":{"href":"https://api.github.com/repos/NVIDIA/DIGITS/pulls/324"}}},"pull_request":{"url":"https://api.github.com/repos/NVIDIA/DIGITS/pulls/324","id":45553013,"html_url":"https://github.com/NVIDIA/DIGITS/pull/324","diff_url":"https://github.com/NVIDIA/DIGITS/pull/324.diff","patch_url":"https://github.com/NVIDIA/DIGITS/pull/324.patch","issue_url":"https://api.github.com/repos/NVIDIA/DIGITS/issues/324","number":324,"state":"open","locked":false,"title":"Initial support for Torch7 in DIGITS","user":{"login":"gheinrich","id":3889770,"avatar_url":"https://avatars.githubusercontent.com/u/3889770?v=3","gravatar_id":"","url":"https://api.github.com/users/gheinrich","html_url":"https://github.com/gheinrich","followers_url":"https://api.github.com/users/gheinrich/followers","following_url":"https://api.github.com/users/gheinrich/following{/other_user}","gists_url":"https://api.github.com/users/gheinrich/gists{/gist_id}","starred_url":"https://api.github.com/users/gheinrich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gheinrich/subscriptions","organizations_url":"https://api.github.com/users/gheinrich/orgs","repos_url":"https://api.github.com/users/gheinrich/repos","events_url":"https://api.github.com/users/gheinrich/events{/privacy}","received_events_url":"https://api.github.com/users/gheinrich/received_events","type":"User","site_admin":false},"body":"Pull request to prepare ground for merge to master (will need rebasing/squashing and QA report before commit)","created_at":"2015-09-21T14:11:09Z","updated_at":"2015-09-22T19:44:51Z","closed_at":null,"merged_at":null,"merge_commit_sha":"11c2b706898b92dcbcd14813e68fd6f76875626b","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/NVIDIA/DIGITS/pulls/324/commits","review_comments_url":"https://api.github.com/repos/NVIDIA/DIGITS/pulls/324/comments","review_comment_url":"https://api.github.com/repos/NVIDIA/DIGITS/pulls/comments{/number}","comments_url":"https://api.github.com/repos/NVIDIA/DIGITS/issues/324/comments","statuses_url":"https://api.github.com/repos/NVIDIA/DIGITS/statuses/4e2a55ddb1d03777870199a813c117a346128113","head":{"label":"gheinrich:dev/torch2","ref":"dev/torch2","sha":"4e2a55ddb1d03777870199a813c117a346128113","user":{"login":"gheinrich","id":3889770,"avatar_url":"https://avatars.githubusercontent.com/u/3889770?v=3","gravatar_id":"","url":"https://api.github.com/users/gheinrich","html_url":"https://github.com/gheinrich","followers_url":"https://api.github.com/users/gheinrich/followers","following_url":"https://api.github.com/users/gheinrich/following{/other_user}","gists_url":"https://api.github.com/users/gheinrich/gists{/gist_id}","starred_url":"https://api.github.com/users/gheinrich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gheinrich/subscriptions","organizations_url":"https://api.github.com/users/gheinrich/orgs","repos_url":"https://api.github.com/users/gheinrich/repos","events_url":"https://api.github.com/users/gheinrich/events{/privacy}","received_events_url":"https://api.github.com/users/gheinrich/received_events","type":"User","site_admin":false},"repo":{"id":39290770,"name":"DIGITS","full_name":"gheinrich/DIGITS","owner":{"login":"gheinrich","id":3889770,"avatar_url":"https://avatars.githubusercontent.com/u/3889770?v=3","gravatar_id":"","url":"https://api.github.com/users/gheinrich","html_url":"https://github.com/gheinrich","followers_url":"https://api.github.com/users/gheinrich/followers","following_url":"https://api.github.com/users/gheinrich/following{/other_user}","gists_url":"https://api.github.com/users/gheinrich/gists{/gist_id}","starred_url":"https://api.github.com/users/gheinrich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gheinrich/subscriptions","organizations_url":"https://api.github.com/users/gheinrich/orgs","repos_url":"https://api.github.com/users/gheinrich/repos","events_url":"https://api.github.com/users/gheinrich/events{/privacy}","received_events_url":"https://api.github.com/users/gheinrich/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/gheinrich/DIGITS","description":"Deep Learning GPU Training System","fork":true,"url":"https://api.github.com/repos/gheinrich/DIGITS","forks_url":"https://api.github.com/repos/gheinrich/DIGITS/forks","keys_url":"https://api.github.com/repos/gheinrich/DIGITS/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gheinrich/DIGITS/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gheinrich/DIGITS/teams","hooks_url":"https://api.github.com/repos/gheinrich/DIGITS/hooks","issue_events_url":"https://api.github.com/repos/gheinrich/DIGITS/issues/events{/number}","events_url":"https://api.github.com/repos/gheinrich/DIGITS/events","assignees_url":"https://api.github.com/repos/gheinrich/DIGITS/assignees{/user}","branches_url":"https://api.github.com/repos/gheinrich/DIGITS/branches{/branch}","tags_url":"https://api.github.com/repos/gheinrich/DIGITS/tags","blobs_url":"https://api.github.com/repos/gheinrich/DIGITS/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gheinrich/DIGITS/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gheinrich/DIGITS/git/refs{/sha}","trees_url":"https://api.github.com/repos/gheinrich/DIGITS/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gheinrich/DIGITS/statuses/{sha}","languages_url":"https://api.github.com/repos/gheinrich/DIGITS/languages","stargazers_url":"https://api.github.com/repos/gheinrich/DIGITS/stargazers","contributors_url":"https://api.github.com/repos/gheinrich/DIGITS/contributors","subscribers_url":"https://api.github.com/repos/gheinrich/DIGITS/subscribers","subscription_url":"https://api.github.com/repos/gheinrich/DIGITS/subscription","commits_url":"https://api.github.com/repos/gheinrich/DIGITS/commits{/sha}","git_commits_url":"https://api.github.com/repos/gheinrich/DIGITS/git/commits{/sha}","comments_url":"https://api.github.com/repos/gheinrich/DIGITS/comments{/number}","issue_comment_url":"https://api.github.com/repos/gheinrich/DIGITS/issues/comments{/number}","contents_url":"https://api.github.com/repos/gheinrich/DIGITS/contents/{+path}","compare_url":"https://api.github.com/repos/gheinrich/DIGITS/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gheinrich/DIGITS/merges","archive_url":"https://api.github.com/repos/gheinrich/DIGITS/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gheinrich/DIGITS/downloads","issues_url":"https://api.github.com/repos/gheinrich/DIGITS/issues{/number}","pulls_url":"https://api.github.com/repos/gheinrich/DIGITS/pulls{/number}","milestones_url":"https://api.github.com/repos/gheinrich/DIGITS/milestones{/number}","notifications_url":"https://api.github.com/repos/gheinrich/DIGITS/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gheinrich/DIGITS/labels{/name}","releases_url":"https://api.github.com/repos/gheinrich/DIGITS/releases{/id}","created_at":"2015-07-18T07:39:43Z","updated_at":"2015-07-18T07:39:44Z","pushed_at":"2015-09-22T15:35:49Z","git_url":"git://github.com/gheinrich/DIGITS.git","ssh_url":"git@github.com:gheinrich/DIGITS.git","clone_url":"https://github.com/gheinrich/DIGITS.git","svn_url":"https://github.com/gheinrich/DIGITS","homepage":"https://developer.nvidia.com/digits","size":5070,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"NVIDIA:master","ref":"master","sha":"0adf0252e7bd2cc5356d8eb55c8d6f6a59444462","user":{"login":"NVIDIA","id":1728152,"avatar_url":"https://avatars.githubusercontent.com/u/1728152?v=3","gravatar_id":"","url":"https://api.github.com/users/NVIDIA","html_url":"https://github.com/NVIDIA","followers_url":"https://api.github.com/users/NVIDIA/followers","following_url":"https://api.github.com/users/NVIDIA/following{/other_user}","gists_url":"https://api.github.com/users/NVIDIA/gists{/gist_id}","starred_url":"https://api.github.com/users/NVIDIA/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NVIDIA/subscriptions","organizations_url":"https://api.github.com/users/NVIDIA/orgs","repos_url":"https://api.github.com/users/NVIDIA/repos","events_url":"https://api.github.com/users/NVIDIA/events{/privacy}","received_events_url":"https://api.github.com/users/NVIDIA/received_events","type":"Organization","site_admin":false},"repo":{"id":32403967,"name":"DIGITS","full_name":"NVIDIA/DIGITS","owner":{"login":"NVIDIA","id":1728152,"avatar_url":"https://avatars.githubusercontent.com/u/1728152?v=3","gravatar_id":"","url":"https://api.github.com/users/NVIDIA","html_url":"https://github.com/NVIDIA","followers_url":"https://api.github.com/users/NVIDIA/followers","following_url":"https://api.github.com/users/NVIDIA/following{/other_user}","gists_url":"https://api.github.com/users/NVIDIA/gists{/gist_id}","starred_url":"https://api.github.com/users/NVIDIA/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NVIDIA/subscriptions","organizations_url":"https://api.github.com/users/NVIDIA/orgs","repos_url":"https://api.github.com/users/NVIDIA/repos","events_url":"https://api.github.com/users/NVIDIA/events{/privacy}","received_events_url":"https://api.github.com/users/NVIDIA/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/NVIDIA/DIGITS","description":"Deep Learning GPU Training System","fork":false,"url":"https://api.github.com/repos/NVIDIA/DIGITS","forks_url":"https://api.github.com/repos/NVIDIA/DIGITS/forks","keys_url":"https://api.github.com/repos/NVIDIA/DIGITS/keys{/key_id}","collaborators_url":"https://api.github.com/repos/NVIDIA/DIGITS/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/NVIDIA/DIGITS/teams","hooks_url":"https://api.github.com/repos/NVIDIA/DIGITS/hooks","issue_events_url":"https://api.github.com/repos/NVIDIA/DIGITS/issues/events{/number}","events_url":"https://api.github.com/repos/NVIDIA/DIGITS/events","assignees_url":"https://api.github.com/repos/NVIDIA/DIGITS/assignees{/user}","branches_url":"https://api.github.com/repos/NVIDIA/DIGITS/branches{/branch}","tags_url":"https://api.github.com/repos/NVIDIA/DIGITS/tags","blobs_url":"https://api.github.com/repos/NVIDIA/DIGITS/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/NVIDIA/DIGITS/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/NVIDIA/DIGITS/git/refs{/sha}","trees_url":"https://api.github.com/repos/NVIDIA/DIGITS/git/trees{/sha}","statuses_url":"https://api.github.com/repos/NVIDIA/DIGITS/statuses/{sha}","languages_url":"https://api.github.com/repos/NVIDIA/DIGITS/languages","stargazers_url":"https://api.github.com/repos/NVIDIA/DIGITS/stargazers","contributors_url":"https://api.github.com/repos/NVIDIA/DIGITS/contributors","subscribers_url":"https://api.github.com/repos/NVIDIA/DIGITS/subscribers","subscription_url":"https://api.github.com/repos/NVIDIA/DIGITS/subscription","commits_url":"https://api.github.com/repos/NVIDIA/DIGITS/commits{/sha}","git_commits_url":"https://api.github.com/repos/NVIDIA/DIGITS/git/commits{/sha}","comments_url":"https://api.github.com/repos/NVIDIA/DIGITS/comments{/number}","issue_comment_url":"https://api.github.com/repos/NVIDIA/DIGITS/issues/comments{/number}","contents_url":"https://api.github.com/repos/NVIDIA/DIGITS/contents/{+path}","compare_url":"https://api.github.com/repos/NVIDIA/DIGITS/compare/{base}...{head}","merges_url":"https://api.github.com/repos/NVIDIA/DIGITS/merges","archive_url":"https://api.github.com/repos/NVIDIA/DIGITS/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/NVIDIA/DIGITS/downloads","issues_url":"https://api.github.com/repos/NVIDIA/DIGITS/issues{/number}","pulls_url":"https://api.github.com/repos/NVIDIA/DIGITS/pulls{/number}","milestones_url":"https://api.github.com/repos/NVIDIA/DIGITS/milestones{/number}","notifications_url":"https://api.github.com/repos/NVIDIA/DIGITS/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/NVIDIA/DIGITS/labels{/name}","releases_url":"https://api.github.com/repos/NVIDIA/DIGITS/releases{/id}","created_at":"2015-03-17T16:00:20Z","updated_at":"2015-09-21T05:36:39Z","pushed_at":"2015-09-22T19:15:19Z","git_url":"git://github.com/NVIDIA/DIGITS.git","ssh_url":"git@github.com:NVIDIA/DIGITS.git","clone_url":"https://github.com/NVIDIA/DIGITS.git","svn_url":"https://github.com/NVIDIA/DIGITS","homepage":"https://developer.nvidia.com/digits","size":6462,"stargazers_count":692,"watchers_count":692,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":195,"mirror_url":null,"open_issues_count":56,"forks":195,"open_issues":56,"watchers":692,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/NVIDIA/DIGITS/pulls/324"},"html":{"href":"https://github.com/NVIDIA/DIGITS/pull/324"},"issue":{"href":"https://api.github.com/repos/NVIDIA/DIGITS/issues/324"},"comments":{"href":"https://api.github.com/repos/NVIDIA/DIGITS/issues/324/comments"},"review_comments":{"href":"https://api.github.com/repos/NVIDIA/DIGITS/pulls/324/comments"},"review_comment":{"href":"https://api.github.com/repos/NVIDIA/DIGITS/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/NVIDIA/DIGITS/pulls/324/commits"},"statuses":{"href":"https://api.github.com/repos/NVIDIA/DIGITS/statuses/4e2a55ddb1d03777870199a813c117a346128113"}}}}