{"action":"created","issue":{"url":"https://api.github.com/repos/clab/dynet/issues/119","repository_url":"https://api.github.com/repos/clab/dynet","labels_url":"https://api.github.com/repos/clab/dynet/issues/119/labels{/name}","comments_url":"https://api.github.com/repos/clab/dynet/issues/119/comments","events_url":"https://api.github.com/repos/clab/dynet/issues/119/events","html_url":"https://github.com/clab/dynet/issues/119","id":184670514,"number":119,"title":"segmentfault ---------------","user":{"login":"zhang-wen","id":15666584,"avatar_url":"https://avatars.githubusercontent.com/u/15666584?v=3","gravatar_id":"","url":"https://api.github.com/users/zhang-wen","html_url":"https://github.com/zhang-wen","followers_url":"https://api.github.com/users/zhang-wen/followers","following_url":"https://api.github.com/users/zhang-wen/following{/other_user}","gists_url":"https://api.github.com/users/zhang-wen/gists{/gist_id}","starred_url":"https://api.github.com/users/zhang-wen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zhang-wen/subscriptions","organizations_url":"https://api.github.com/users/zhang-wen/orgs","repos_url":"https://api.github.com/users/zhang-wen/repos","events_url":"https://api.github.com/users/zhang-wen/events{/privacy}","received_events_url":"https://api.github.com/users/zhang-wen/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-10-23T04:18:53Z","updated_at":"2016-10-23T11:43:25Z","closed_at":"2016-10-23T11:43:25Z","body":"hello, everyone, i try to invoke the load_array function of a Parameters type like this, \r\n\r\ni from _gdynet import *\r\nattention_w1.load_array(numpy_val), but it show segment fault, somebody can fix this problem ? appreciate for this ...\r\n\r\nand i fount another problem, i try to run cpu_vs_gpu.py which is ok, even i do not add --dynet-gpu command.\r\nCPU time: 0.525084018707\r\nGPU time: 0.013307094574\r\n\r\nbut when i run rnnlm.py, the speed is even slower on gpu than that on cpu, i can not figure out what is the reason, can any developers help me about this ?  how to use the gpu, i try to use --dynet-gpu in command line, and i try to import _gdynet, but all seem to be failed ..\r\n\r\ni know dyne is a new python network toolkits, there are some bugs, i understand."},"comment":{"url":"https://api.github.com/repos/clab/dynet/issues/comments/255583968","html_url":"https://github.com/clab/dynet/issues/119#issuecomment-255583968","issue_url":"https://api.github.com/repos/clab/dynet/issues/119","id":255583968,"user":{"login":"yoavg","id":464308,"avatar_url":"https://avatars.githubusercontent.com/u/464308?v=3","gravatar_id":"","url":"https://api.github.com/users/yoavg","html_url":"https://github.com/yoavg","followers_url":"https://api.github.com/users/yoavg/followers","following_url":"https://api.github.com/users/yoavg/following{/other_user}","gists_url":"https://api.github.com/users/yoavg/gists{/gist_id}","starred_url":"https://api.github.com/users/yoavg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yoavg/subscriptions","organizations_url":"https://api.github.com/users/yoavg/orgs","repos_url":"https://api.github.com/users/yoavg/repos","events_url":"https://api.github.com/users/yoavg/events{/privacy}","received_events_url":"https://api.github.com/users/yoavg/received_events","type":"User","site_admin":false},"created_at":"2016-10-23T11:43:25Z","updated_at":"2016-10-23T11:43:25Z","body":"re load_array, it is now deprecated, and there is a new API:\r\nhttps://github.com/clab/dynet/blob/master/python/CHANGES.md#parameter-initialization\r\n\r\nsee the newest version.\r\n\r\nre memory problem, please open in a separate issue."}}
{"actor":{"display_login":"yoavg"}}