{"action":"created","issue":{"url":"https://api.github.com/repos/ITPNYU/p5-deeplearn-js/issues/9","repository_url":"https://api.github.com/repos/ITPNYU/p5-deeplearn-js","labels_url":"https://api.github.com/repos/ITPNYU/p5-deeplearn-js/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/ITPNYU/p5-deeplearn-js/issues/9/comments","events_url":"https://api.github.com/repos/ITPNYU/p5-deeplearn-js/issues/9/events","html_url":"https://github.com/ITPNYU/p5-deeplearn-js/issues/9","id":268612831,"number":9,"title":"char_indices, indices_char for custom training text?","user":{"login":"shiffman","id":191758,"avatar_url":"https://avatars0.githubusercontent.com/u/191758?v=4","gravatar_id":"","url":"https://api.github.com/users/shiffman","html_url":"https://github.com/shiffman","followers_url":"https://api.github.com/users/shiffman/followers","following_url":"https://api.github.com/users/shiffman/following{/other_user}","gists_url":"https://api.github.com/users/shiffman/gists{/gist_id}","starred_url":"https://api.github.com/users/shiffman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shiffman/subscriptions","organizations_url":"https://api.github.com/users/shiffman/orgs","repos_url":"https://api.github.com/users/shiffman/repos","events_url":"https://api.github.com/users/shiffman/events{/privacy}","received_events_url":"https://api.github.com/users/shiffman/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2017-10-26T02:51:41Z","updated_at":"2017-10-26T18:48:46Z","closed_at":null,"author_association":"OWNER","body":"In class this week, to compare with my [markov chain example](https://github.com/shiffman/A2Z-F17/tree/master/week8-markov-lstm/01_markov_bychar_short), I ran through training an LSTM model using `train.py` with `itp.txt`. I've updated the code in this repo to reflect this. The steps I took are:\r\n\r\n1. Run `train.py`\r\n2. Run `json_checkpoints_var.py`\r\n3. Switch out `hamlet.js` in example with a new `itp.js`.\r\n\r\nI realize this is tiny tiny data with little training so getting good results isn't really possible. However, I got nonsense results with characters not in the original data set. I'm imagining this has something to do with `char_indices` and `indices_char`. Is there a way to auto-generate these during the training process? (They would be different depending on the characters used in the training data, yes?)"},"comment":{"url":"https://api.github.com/repos/ITPNYU/p5-deeplearn-js/issues/comments/339762631","html_url":"https://github.com/ITPNYU/p5-deeplearn-js/issues/9#issuecomment-339762631","issue_url":"https://api.github.com/repos/ITPNYU/p5-deeplearn-js/issues/9","id":339762631,"user":{"login":"cvalenzuela","id":10605821,"avatar_url":"https://avatars0.githubusercontent.com/u/10605821?v=4","gravatar_id":"","url":"https://api.github.com/users/cvalenzuela","html_url":"https://github.com/cvalenzuela","followers_url":"https://api.github.com/users/cvalenzuela/followers","following_url":"https://api.github.com/users/cvalenzuela/following{/other_user}","gists_url":"https://api.github.com/users/cvalenzuela/gists{/gist_id}","starred_url":"https://api.github.com/users/cvalenzuela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cvalenzuela/subscriptions","organizations_url":"https://api.github.com/users/cvalenzuela/orgs","repos_url":"https://api.github.com/users/cvalenzuela/repos","events_url":"https://api.github.com/users/cvalenzuela/events{/privacy}","received_events_url":"https://api.github.com/users/cvalenzuela/received_events","type":"User","site_admin":false},"created_at":"2017-10-26T18:48:46Z","updated_at":"2017-10-26T18:48:46Z","author_association":"COLLABORATOR","body":"nice!\r\nI'm looking at the example now"}}
{"actor":{"display_login":"cvalenzuela"}}