{"action":"created","issue":{"url":"https://api.github.com/repos/cmusatyalab/openface/issues/1","labels_url":"https://api.github.com/repos/cmusatyalab/openface/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/cmusatyalab/openface/issues/1/comments","events_url":"https://api.github.com/repos/cmusatyalab/openface/issues/1/events","html_url":"https://github.com/cmusatyalab/openface/issues/1","id":106864539,"number":1,"title":"Load or call forward pass of the network in Python. [100% Python implementation]","user":{"login":"bamos","id":707462,"avatar_url":"https://avatars.githubusercontent.com/u/707462?v=3","gravatar_id":"","url":"https://api.github.com/users/bamos","html_url":"https://github.com/bamos","followers_url":"https://api.github.com/users/bamos/followers","following_url":"https://api.github.com/users/bamos/following{/other_user}","gists_url":"https://api.github.com/users/bamos/gists{/gist_id}","starred_url":"https://api.github.com/users/bamos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bamos/subscriptions","organizations_url":"https://api.github.com/users/bamos/orgs","repos_url":"https://api.github.com/users/bamos/repos","events_url":"https://api.github.com/users/bamos/events{/privacy}","received_events_url":"https://api.github.com/users/bamos/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/cmusatyalab/openface/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/cmusatyalab/openface/labels/help%20wanted","name":"help wanted","color":"159818"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":16,"created_at":"2015-09-16T21:08:23Z","updated_at":"2015-10-28T17:16:01Z","closed_at":null,"body":"This is nontrivial.\r\n\r\n# Possibility 1: Completely in Python\r\n+ Create a separate Python library to load a Torch model from disk based on [Torch's implementation](https://github.com/torch/torch7/blob/master/File.lua) then map the classes to a Python-based deep learning library.\r\n\r\n# Possibility 2: Through an FFI\r\n+ Less desirable since users will need both Python and Lua/Torch installed\r\n+ Can be done with [lupa](https://pypi.python.org/pypi/lupa)\r\n+ Possible references:\r\n    + https://groups.google.com/forum/#!searchin/torch7/python/torch7/rP2adVEQwMs/Tlw8YSUp1LkJ\r\n    + http://stackoverflow.com/questions/24712972/interfacing-python-and-torch7lua-via-shared-library\r\n+ Will complicate installation"},"comment":{"url":"https://api.github.com/repos/cmusatyalab/openface/issues/comments/151914324","html_url":"https://github.com/cmusatyalab/openface/issues/1#issuecomment-151914324","issue_url":"https://api.github.com/repos/cmusatyalab/openface/issues/1","id":151914324,"user":{"login":"bamos","id":707462,"avatar_url":"https://avatars.githubusercontent.com/u/707462?v=3","gravatar_id":"","url":"https://api.github.com/users/bamos","html_url":"https://github.com/bamos","followers_url":"https://api.github.com/users/bamos/followers","following_url":"https://api.github.com/users/bamos/following{/other_user}","gists_url":"https://api.github.com/users/bamos/gists{/gist_id}","starred_url":"https://api.github.com/users/bamos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bamos/subscriptions","organizations_url":"https://api.github.com/users/bamos/orgs","repos_url":"https://api.github.com/users/bamos/repos","events_url":"https://api.github.com/users/bamos/events{/privacy}","received_events_url":"https://api.github.com/users/bamos/received_events","type":"User","site_admin":false},"created_at":"2015-10-28T17:16:01Z","updated_at":"2015-10-28T17:16:01Z","body":"I'm not sure how to speedup Torch network executions on the CPU. Let me know if you find anything useful out. Depending on your setup, a cheap GPU may also help, it will need around 2GB of memory."}}