Skip to content
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

got below error while initiating the class #38

Open
tiru1930 opened this issue Aug 23, 2017 · 5 comments
Open

got below error while initiating the class #38

tiru1930 opened this issue Aug 23, 2017 · 5 comments

Comments

@tiru1930
Copy link

Traceback (most recent call last):
File "pythonwrap.py", line 5, in
tansclass=Torchclass()
File "/home/tiru/qgencode/qgen/lib/python3.5/site-packages/PyTorch-4.1.1_SNAPSHOT-py3.5-linux-x86_64.egg/PyTorchHelpers.py", line 20, in init
PyTorchAug.LuaClass.init(self, splitName, *args)
File "/home/tiru/qgencode/qgen/lib/python3.5/site-packages/PyTorch-4.1.1_SNAPSHOT-py3.5-linux-x86_64.egg/PyTorchAug.py", line 255, in init
raise Exception(errorMessage)
Exception: attempt to call a nil value

@hughperkins
Copy link
Owner

I think it looks like it cant find Torchclass in the LUA_PATH/LUA_CPATH etc. I think you might want to double-check how these env vars look, maybe try running the unit tests, check they run ok, ie https://github.com/hughperkins/pytorch/blob/master/run_tests.sh

@tiru1930
Copy link
Author

tiru1930 commented Aug 24, 2017 via email

@hughperkins
Copy link
Owner

Ok. You mean, all is working ok now?

@tiru1930
Copy link
Author

tiru1930 commented Aug 24, 2017 via email

@hughperkins
Copy link
Owner

Ok, great! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants