-
Notifications
You must be signed in to change notification settings - Fork 450
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
module 'encoding._ext.encoding_lib' has no attribute 'Encoding_Float_sum_square_Forward' #44
Comments
Are you running the script in the repo base folder? Try to run it in different folder. |
No, this is not the issue here. I'm running my script from a separate folder, say |
something wrong with the installation, there should be |
Ok, strange. It just didn't copy the I ended up just copying this file manually from the sources to this directory, this solved the issue. But now I get:
Is this related to my incomplete installation or actually a new bug? P.S. cffi package version 1.11.5 is installed on my system. Edit: Solved by changing two lines of code! And finally, the code runs on my machine! Thanks so far for all the helpful comments! |
Please checkout the newest version and see if you still have the trouble. See details in PR #51 |
fixed in PR #59 |
Although compiled successfully (carefully following the instructions), or at least no error messages has been shown during compilation, it seems that the module is not installed correctly.
I get the following error message:
extractor.py line 259 refers to extractor.py line 250 from a deep learning repo where I replaced nn.BatchNorm2d with encoding.nn.BatchNorm2d.
Indeed, the folder
/home/<user>/.conda/envs/pytorch-0.3.1-3.5-s/lib/python3.5/site-packages/encoding/_ext/encoding_lib
does not contain any .py files for me.What could be the issue here?
I am using:
pytorch 0.3.1 (build from source), I cloned the pytorch repo at state 2b4748011b5881583567bb166801ca6625f2fdda which is associated with the 0.3.1 release. pytorch 0.4 is too unstable and has too many (partly unlisted) breaking changes. I had to revert to v0.3.1
conda 4.3 / cuda 8.0 / Edit: python 3.5
The text was updated successfully, but these errors were encountered: