-
Notifications
You must be signed in to change notification settings - Fork 21
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
Cifar10_model not found #24
Comments
@benliebersohn try this (in test_easgd.py):
|
The way of finding the model file and model class is a bit of hack right now. See here. It requires an absolute path, like something on the modelfile = 'theanompi.models.cifar10' will work because To have a customized model discovered by worker.py, you need to put the current working directory in export PYTHONPATH=$(pwd):$PYTHONPATH will make the current folder available. Doing it this way allows you to work from a random folder with the following files: launch_session.cfg
modelfile.py |
Thanks that makes it easy. |
I am having trouble executing the included Theano-MPI examples from within a docker container.
My output is as follows:
root@503d8c1f182a:/workspace/Theano-MPI/examples# python -u test_easgd.py Traceback (most recent call last): File "test_easgd.py", line 12, in <module> modelclass = 'Cifar10_model') File "/usr/local/lib/python2.7/dist-packages/Theano_MPI-1.0-py2.7.egg/theanompi/rules.py", line 173, in init p = subprocess.Popen(command) File "/usr/lib/python2.7/subprocess.py", line 711, in __init__ errread, errwrite) File "/usr/lib/python2.7/subprocess.py", line 1343, in _execute_child raise child_exception OSError: [Errno 2] No such file or directory
It appears to not be finding the Cifar10 model, which I can find plainly in theanompi/models/. However even when I run test_easgd.py in the theanompi folder, it gives me the same error. What can I do to restructure the directories such that the test_easgd.py finds the Cifar10 model?
Thank you
The text was updated successfully, but these errors were encountered: