-
Notifications
You must be signed in to change notification settings - Fork 271
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
A few minor fixes #12
Conversation
this avoids creating an unnecessary directory `warp_ctc` in the top of the pytorch_binding Quote from: http://pytorch.org/docs/master/ffi.html package : set to True to build in package mode (for modules meant to be installed as pip packages
Thanks man! |
@r9y9 I've made a PR to revert the changes, I'm seeing some errors in the building of the library, could you help debug this? How do you currently build this lib? |
I used python setup.py develop. What errors are you seeing? |
Doing a |
I'm currently in a business trip and cannot have access to my PC (with GTX 1080 Ti). I will try to investigate when I get back. |
Sorry for late; I'm back. I cannot reproduce. Could you tell me what exactly you are seeing?
|
Hmm I wonder if it was just my install, I'll retry again! Sorry about this! |
Do you find any problem? or can we just merge #17? |
On a fresh install of anaconda, running the build commands:
The installing the bindings:
Run into this notorious issue when running the tests:
You sure you don't run into this issue as well? |
This is causing error on python2. fixes SeanNaren#12 (comment)
I can reproduce on pyhon2.7. Fix comming. |
@SeanNaren I think I fixed the problem. Could you try if it works? |
I think this pull breaks things, at least for me on python 3. The correct code on my machine ends up as:
Not sure what is causing the extra level there. |
@bstriner I am wondering if you had old generated code as well? Could you try it again after |
what @r9y9 just suggested is what gave me weird install issues as well. Make sure to uninstall/remove the site package from the conda environment, and re-clone the repo. |
Actually, this was a Dockerfile, so no previous anything. Fresh git clone, install, etc. Current version is here (using a fork of the repo). If you switch the url back to the master repo it should reproduce the issue. https://github.com/cmudeeplearning11785/machine_learning_gpu/blob/master/Dockerfile On that note, @SeanNaren any thoughts on setting up Travis or something similar? |
I tried a few different ways to install but all got the same result (you can see some in the comments in the Dockerfile). |
If you enable travis I can start putting a config file together. |
Please see commit messages for details.