{"action":"created","issue":{"url":"https://api.github.com/repos/julian121266/RecurrentHighwayNetworks/issues/12","repository_url":"https://api.github.com/repos/julian121266/RecurrentHighwayNetworks","labels_url":"https://api.github.com/repos/julian121266/RecurrentHighwayNetworks/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/julian121266/RecurrentHighwayNetworks/issues/12/comments","events_url":"https://api.github.com/repos/julian121266/RecurrentHighwayNetworks/issues/12/events","html_url":"https://github.com/julian121266/RecurrentHighwayNetworks/issues/12","id":237612495,"number":12,"title":"Training does not work","user":{"login":"Avmb","id":2590332,"avatar_url":"https://avatars1.githubusercontent.com/u/2590332?v=3","gravatar_id":"","url":"https://api.github.com/users/Avmb","html_url":"https://github.com/Avmb","followers_url":"https://api.github.com/users/Avmb/followers","following_url":"https://api.github.com/users/Avmb/following{/other_user}","gists_url":"https://api.github.com/users/Avmb/gists{/gist_id}","starred_url":"https://api.github.com/users/Avmb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Avmb/subscriptions","organizations_url":"https://api.github.com/users/Avmb/orgs","repos_url":"https://api.github.com/users/Avmb/repos","events_url":"https://api.github.com/users/Avmb/events{/privacy}","received_events_url":"https://api.github.com/users/Avmb/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-06-21T17:42:18Z","updated_at":"2017-06-21T18:19:05Z","closed_at":null,"body":"I tried both the Theano and Tensorflow version and neither works:\r\n\r\n$ python theano_rhn_train.py with ptb_sota\r\nTraceback (most recent call last):\r\n  File \"theano_rhn_train.py\", line 22, in <module>\r\n    from data.reader import data_iterator, hutter_raw_data, ptb_raw_data\r\nImportError: cannot import name hutter_raw_data\r\n\r\n$ python rhn_train.py with ptb_sota\r\nWARNING - rhn_prediction - No observers have been added to this run\r\nINFO - rhn_prediction - Running command 'main'\r\nINFO - rhn_prediction - Started\r\nConfiguration (modified, added, typechanged, doc):\r\n  batch_size = 20\r\n  data_path = 'data'\r\n  dataset = 'ptb'\r\n  depth = 10                         # the recurrence depth\r\n  drop_h = 0.25\r\n  drop_i = 0.75\r\n  drop_o = 0.75\r\n  drop_x = 0.25\r\n  hidden_size = 830\r\n  init_bias = -2.0\r\n  init_scale = 0.04\r\n  learning_rate = 0.2\r\n  load_model = ''\r\n  lr_decay = 1.02\r\n  max_epoch = 20\r\n  max_grad_norm = 10\r\n  max_max_epoch = 500\r\n  mc_steps = 0\r\n  num_layers = 1\r\n  num_steps = 35\r\n  seed = 227745048                   # the random seed for this experiment\r\n  tied = True\r\n  vocab_size = 10000\r\n  weight_decay = 1e-07\r\nERROR - rhn_prediction - Failed after 0:00:00!\r\nTraceback (most recent calls WITHOUT Sacred internals):\r\n  File \"rhn_train.py\", line 324, in main\r\n    reader, (train_data, valid_data, test_data, _) = get_data(data_path, dataset)\r\n  File \"rhn_train.py\", line 147, in get_data\r\n    from tensorflow.models.rnn.ptb import reader\r\nImportError: No module named models.rnn.ptb\r\n"},"comment":{"url":"https://api.github.com/repos/julian121266/RecurrentHighwayNetworks/issues/comments/310163183","html_url":"https://github.com/julian121266/RecurrentHighwayNetworks/issues/12#issuecomment-310163183","issue_url":"https://api.github.com/repos/julian121266/RecurrentHighwayNetworks/issues/12","id":310163183,"user":{"login":"Avmb","id":2590332,"avatar_url":"https://avatars1.githubusercontent.com/u/2590332?v=3","gravatar_id":"","url":"https://api.github.com/users/Avmb","html_url":"https://github.com/Avmb","followers_url":"https://api.github.com/users/Avmb/followers","following_url":"https://api.github.com/users/Avmb/following{/other_user}","gists_url":"https://api.github.com/users/Avmb/gists{/gist_id}","starred_url":"https://api.github.com/users/Avmb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Avmb/subscriptions","organizations_url":"https://api.github.com/users/Avmb/orgs","repos_url":"https://api.github.com/users/Avmb/repos","events_url":"https://api.github.com/users/Avmb/events{/privacy}","received_events_url":"https://api.github.com/users/Avmb/received_events","type":"User","site_admin":false},"created_at":"2017-06-21T18:19:05Z","updated_at":"2017-06-21T18:19:05Z","body":"enwiki8_sota and text8_sota also don't work:\r\n\r\nTypeError: Expected int32, got list containing Tensors of type '_Message' instead.\r\n\r\n"}}
{"actor":{"display_login":"Avmb"}}