{"action":"created","issue":{"url":"https://api.github.com/repos/rizar/attention-lvcsr/issues/2","labels_url":"https://api.github.com/repos/rizar/attention-lvcsr/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/rizar/attention-lvcsr/issues/2/comments","events_url":"https://api.github.com/repos/rizar/attention-lvcsr/issues/2/events","html_url":"https://github.com/rizar/attention-lvcsr/issues/2","id":117940139,"number":2,"title":"some errors when install kaldi-python","user":{"login":"Entonytang","id":9286407,"avatar_url":"https://avatars.githubusercontent.com/u/9286407?v=3","gravatar_id":"","url":"https://api.github.com/users/Entonytang","html_url":"https://github.com/Entonytang","followers_url":"https://api.github.com/users/Entonytang/followers","following_url":"https://api.github.com/users/Entonytang/following{/other_user}","gists_url":"https://api.github.com/users/Entonytang/gists{/gist_id}","starred_url":"https://api.github.com/users/Entonytang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Entonytang/subscriptions","organizations_url":"https://api.github.com/users/Entonytang/orgs","repos_url":"https://api.github.com/users/Entonytang/repos","events_url":"https://api.github.com/users/Entonytang/events{/privacy}","received_events_url":"https://api.github.com/users/Entonytang/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-11-20T00:30:35Z","updated_at":"2015-11-24T15:34:17Z","closed_at":null,"body":"ubuntu 14.04. \r\nuse thi command(.setup.py install) to setup kaldi-pthon, I have set $KALDI_ROOT already \r\nthe errors are as follows:\r\n\r\n/usr/include/python2.7/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning \"Using deprecated NumPy API, disable it by \" \"#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION\" [-Wcpp]\r\n #warning \"Using deprecated NumPy API, disable it by \" \\\r\n  ^\r\n/usr/bin/ld: /home/jtang/Kaldi/kaldi-trunk/src/matrix/kaldi-matrix.a(kaldi-matrix.o): relocation R_X86_64_32 against `.rodata' can not be used when making a shared object; recompile with -fPIC\r\n/home/jtang/Kaldi/kaldi-trunk/src/matrix/kaldi-matrix.a: error adding symbols: Bad value\r\ncollect2: error: ld returned 1 exit status\r\nmake[1]: *** [kaldi_io_internal.so] Error 1\r\nmake[1]: Leaving directory `/home/jtang/Attention_ASR/kaldi-python/kaldi_io'\r\nmake: *** [all] Error 2\r\n\r\nthse errors seem to happen in creating kaldi_io_internal.so, if I don't use these .a file  $(KALDI_SRC)/matrix/kaldi-matrix.a  $(KALDI_SRC)/util/kaldi-util.a $(KALDI_SRC)/base/kaldi-base.a ,\r\nkaldi_io_internal.so can create(of course this file can't  be used) "},"comment":{"url":"https://api.github.com/repos/rizar/attention-lvcsr/issues/comments/159305992","html_url":"https://github.com/rizar/attention-lvcsr/issues/2#issuecomment-159305992","issue_url":"https://api.github.com/repos/rizar/attention-lvcsr/issues/2","id":159305992,"user":{"login":"dmitriy-serdyuk","id":2872615,"avatar_url":"https://avatars.githubusercontent.com/u/2872615?v=3","gravatar_id":"","url":"https://api.github.com/users/dmitriy-serdyuk","html_url":"https://github.com/dmitriy-serdyuk","followers_url":"https://api.github.com/users/dmitriy-serdyuk/followers","following_url":"https://api.github.com/users/dmitriy-serdyuk/following{/other_user}","gists_url":"https://api.github.com/users/dmitriy-serdyuk/gists{/gist_id}","starred_url":"https://api.github.com/users/dmitriy-serdyuk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmitriy-serdyuk/subscriptions","organizations_url":"https://api.github.com/users/dmitriy-serdyuk/orgs","repos_url":"https://api.github.com/users/dmitriy-serdyuk/repos","events_url":"https://api.github.com/users/dmitriy-serdyuk/events{/privacy}","received_events_url":"https://api.github.com/users/dmitriy-serdyuk/received_events","type":"User","site_admin":false},"created_at":"2015-11-24T15:34:16Z","updated_at":"2015-11-24T15:34:16Z","body":"As I measured recently, one step was taking about 6 seconds on a Titan X, K40 was a bit slower, about 8-9 seconds. So probably something goes wrong. \r\n\r\nMake sure that Theano writes something like `Using gpu device 1: GeForce GTX TITAN X (CNMeM is enabled)`. Another suggestion is to check that you use float32, not float64. I also use `optimizer_excluding=cudnn` option since I had some issues with CUDNN."}}