{"action":"created","issue":{"url":"https://api.github.com/repos/rstudio/tensorflow/issues/40","repository_url":"https://api.github.com/repos/rstudio/tensorflow","labels_url":"https://api.github.com/repos/rstudio/tensorflow/issues/40/labels{/name}","comments_url":"https://api.github.com/repos/rstudio/tensorflow/issues/40/comments","events_url":"https://api.github.com/repos/rstudio/tensorflow/issues/40/events","html_url":"https://github.com/rstudio/tensorflow/pull/40","id":192178044,"number":40,"title":"TFLearn DNNClassifier examples","user":{"login":"terrytangyuan","id":4269898,"avatar_url":"https://avatars.githubusercontent.com/u/4269898?v=3","gravatar_id":"","url":"https://api.github.com/users/terrytangyuan","html_url":"https://github.com/terrytangyuan","followers_url":"https://api.github.com/users/terrytangyuan/followers","following_url":"https://api.github.com/users/terrytangyuan/following{/other_user}","gists_url":"https://api.github.com/users/terrytangyuan/gists{/gist_id}","starred_url":"https://api.github.com/users/terrytangyuan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/terrytangyuan/subscriptions","organizations_url":"https://api.github.com/users/terrytangyuan/orgs","repos_url":"https://api.github.com/users/terrytangyuan/repos","events_url":"https://api.github.com/users/terrytangyuan/events{/privacy}","received_events_url":"https://api.github.com/users/terrytangyuan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-11-29T03:20:08Z","updated_at":"2016-11-29T12:11:44Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/rstudio/tensorflow/pulls/40","html_url":"https://github.com/rstudio/tensorflow/pull/40","diff_url":"https://github.com/rstudio/tensorflow/pull/40.diff","patch_url":"https://github.com/rstudio/tensorflow/pull/40.patch"},"body":"Couple issues noticed:\r\n\r\n- hidden_units = c(10L, 15L, 10L) if `L` is not specified, you'll see \r\n```\r\nError in py_call(attrib, args, keywords) : \r\n  ValueError: ('num_outputs should be int or long, got %s.', 10.0)\r\n```\r\nThis is caused when `hidden_units` are not of `six.interger_types` in Python, \r\n```\r\n>>> six.integer_types\r\n(<type 'int'>, <type 'long'>)\r\n```\r\n\r\n- My first run of this gives me good accuracy but the runs after give me accuracy like 0.0196 and it's always the same number. This happens even when I re-open my RStudio and even when I change `temp_model_dir`. \r\n\r\n"},"comment":{"url":"https://api.github.com/repos/rstudio/tensorflow/issues/comments/263554566","html_url":"https://github.com/rstudio/tensorflow/pull/40#issuecomment-263554566","issue_url":"https://api.github.com/repos/rstudio/tensorflow/issues/40","id":263554566,"user":{"login":"jjallaire","id":104391,"avatar_url":"https://avatars.githubusercontent.com/u/104391?v=3","gravatar_id":"","url":"https://api.github.com/users/jjallaire","html_url":"https://github.com/jjallaire","followers_url":"https://api.github.com/users/jjallaire/followers","following_url":"https://api.github.com/users/jjallaire/following{/other_user}","gists_url":"https://api.github.com/users/jjallaire/gists{/gist_id}","starred_url":"https://api.github.com/users/jjallaire/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jjallaire/subscriptions","organizations_url":"https://api.github.com/users/jjallaire/orgs","repos_url":"https://api.github.com/users/jjallaire/repos","events_url":"https://api.github.com/users/jjallaire/events{/privacy}","received_events_url":"https://api.github.com/users/jjallaire/received_events","type":"User","site_admin":false},"created_at":"2016-11-29T12:11:44Z","updated_at":"2016-11-29T12:11:44Z","body":"We definitely need to get the bottom of the accuracy staying the same! Perhaps there is some sort of subtle floating point comparison issue going on? Maybe run through the script in the debugger to see exactly what values are occurring where."}}
{"actor":{"display_login":"jjallaire"}}