Comments (7)
from the README:
In order to reproduce the results, make sure Theano is installed and the repository is in your PYTHONPATH, e.g run the command export PYTHONPATH=/path/where/is13/is:$PYTHONPATH
in your case:
export PYTHONPATH=~/github:$PYTHONPATH
from is13.
ubgpu@ubgpu:/github/is13$ sudo python examples/elman-forward.py/github/is13$ export PYTHONPATH=
[sudo] password for ubgpu:
Traceback (most recent call last):
File "examples/elman-forward.py", line 8, in
from is13.data import load
ImportError: No module named is13.data
ubgpu@ubgpu:/github/is13:$PYTHONPATH/github/is13$ sudo python examples/elman-forward.py
ubgpu@ubgpu:
Traceback (most recent call last):
File "examples/elman-forward.py", line 8, in
from is13.data import load
ImportError: No module named is13.data
ubgpu@ubgpu:/github/is13$ echo $PYTHONPATH/github/is13$
/home/ubgpu/github/is13:/home/ubgpu/github:/usr/local/lib/python2.7/dist-packages
ubgpu@ubgpu:
from is13.
I wrote
export PYTHONPATH=~/github:$PYTHONPATH
not what you typed:
export PYTHONPATH=~/github/is13:$PYTHONPATH
from is13.
sure, i try this first, it doesn't work; then add the path with is13/
ubgpu@ubgpu:/github/is13$ export PYTHONPATH=/github:$PYTHONPATH
ubgpu@ubgpu:/github/is13$ sudo python examples/elman-forward.py/github/is13$
[sudo] password for ubgpu:
Traceback (most recent call last):
File "examples/elman-forward.py", line 8, in
from is13.data import load
ImportError: No module named is13.data
ubgpu@ubgpu:
from is13.
I figure it out!
since I must use the sudo to run theano, but the $PYTHONPYTHON is not set with root
root@ubgpu:/home/ubgpu/github/is13# export PYTHONPATH=/home/ubgpu/github:/usr/local/lib/python2.7/dist-package
root@ubgpu:/home/ubgpu/github/is13# python examples/elman-forward.py
Downloading data from http://www-etud.iro.umontreal.ca/~mesnilgr/atis/atis.fold3.pkl.gz
/usr/local/lib/python2.7/dist-packages/theano/gof/cmodule.py:293: RuntimeWarning: numpy.ndarray size changed, may indicate binary incompatibility
rval = import(module_name, {}, {}, [module_name])
from is13.
Can you please explain what have you done to fix this? Im in windows and having the same problem "No module named is13.data"
from is13.
to lucas0
the issue i got is under Ubuntu, as the 'root' have a differen ENVIRONMENT VARIABLE with normal user.
from is13.
Related Issues (20)
- Some questions about the Dataset HOT 5
- problems with --- python code/rnnslu.py HOT 3
- OSError: [Errno 2] No such file or directory: 'conlleval.pl' HOT 4
- Using Theano in Word Embedding Method HOT 4
- Get word embeddings aligned with words HOT 3
- Cost function on last word in sentence HOT 2
- Is there any mini-batched is13 (rnn for sequence labeling task)? HOT 1
- rnnslu.py takes too long for nh=200
- rnnslu.py takes too longer than 40 seconds for nh=200 HOT 4
- i get different results than expected HOT 11
- A simple question about the ouput s_t of rnn HOT 1
- Appying CRF after elman network HOT 2
- Label Issue HOT 1
- All weights turn into 'nan' after training HOT 3
- code bug HOT 2
- Link for ATIS dataset not working HOT 1
- Code Error HOT 1
- intent labels HOT 4
- conlleval.pl OSError: [WinError 193] %1 is not a valid Win32 application, FileNotFoundError: [WinError 2] The system cannot find the file specified HOT 1
- Link for ATIS dataset not working again HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from is13.