Comments (3)
Hi,
Can you post the whole stack trace error? With that, I could tell you for sure, however, generally this kind of error means that one of the methods you were trying to evaluate was not found (it's not installed or the path was wrong). The methods evaluated are expected to generate as output a file called "emb.tmp" from which the library will read the embeddings. Make sure all the methods you are trying to evaluate are installed and the paths are correct.
Alex
from evalne.
Traceback (most recent call last):
File "/home/user/anaconda3/envs/research_env/lib/python2.7/runpy.py", line 174, in _run_module_as_main
"main", fname, loader, pkg_name)
File "/home/user/anaconda3/envs/research_env/lib/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
File "/home/user/Documents/KDIR/EvalNE-master/evalne/main.py", line 320, in
main()
File "/home/user/Documents/KDIR/EvalNE-master/evalne/main.py", line 34, in main
evaluate(setup)
File "/home/user/Documents/KDIR/EvalNE-master/evalne/main.py", line 106, in evaluate
times.extend(eval_other(setup, nee))
File "/home/user/Documents/KDIR/EvalNE-master/evalne/main.py", line 199, in eval_other
verbose=setup.verbose)
File "/home/user/anaconda3/envs/research_env/lib/python2.7/site-packages/evalne/evaluation/evaluator.py", line 679, in evaluate_cmd
input_delim, output_delim, write_weights, write_dir, verbose)
File "/home/user/anaconda3/envs/research_env/lib/python2.7/site-packages/evalne/evaluation/evaluator.py", line 725, in _evaluate_ne_cmd
num_vectors = sum(1 for _ in open(tmpemb))
IOError: [Errno 2] No such file or directory: './emb.tmp'
from evalne.
Precisely the 2-3 lines before the Traceback should tell you what the error was. For example, in the case below (where I reproduced your error) the system says that it's trying to evaluate a certain method and execute a Python call with some parameter. Then it tells you that Python can't open the file /wow/home/... because the path is incorrect. Check those lines above and see what they say (or post them here). You should find out if it's an incorrect path or the method to be evaluated just does not exist.
Running command...
python /wow/home/alexandru/Downloads/GEM-master/main.py --input ./edgelist.tmp --output ./emb.tmp --dimension 128 --method hope --max_iter 100 --beta 0.1 1>/dev/null
python: can't open file '/wow/home/alexandru/Downloads/GEM-master/main.py': [Errno 2] No such file or directory
I/O error(2): No such file or directory while evaluating method hope-gem
Traceback (most recent call last):
File "/home/alexandru/anaconda2/lib/python2.7/runpy.py", line 174, in _run_module_as_main
"main", fname, loader, pkg_name)
File "/home/alexandru/anaconda2/lib/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
File "/home/alexandru/Desktop/EvalNE_master/evaluatinggraphembeddings/code/EvalNE/evalne/main.py", line 320, in
main()
File "/home/alexandru/Desktop/EvalNE_master/evaluatinggraphembeddings/code/EvalNE/evalne/main.py", line 34, in main
evaluate(setup)
File "/home/alexandru/Desktop/EvalNE_master/evaluatinggraphembeddings/code/EvalNE/evalne/main.py", line 106, in evaluate
times.extend(eval_other(setup, nee))
File "/home/alexandru/Desktop/EvalNE_master/evaluatinggraphembeddings/code/EvalNE/evalne/main.py", line 199, in eval_other
verbose=setup.verbose)
File "/home/alexandru/Desktop/EvalNE_master/evaluatinggraphembeddings/code/EvalNE/evalne/evaluation/evaluator.py", line 606, in evaluate_cmd
input_delim, output_delim, write_weights, write_dir, verbose)
File "/home/alexandru/Desktop/EvalNE_master/evaluatinggraphembeddings/code/EvalNE/evalne/evaluation/evaluator.py", line 744, in _evaluate_ne_cmd
num_vectors = sum(1 for _ in open(tmpemb))
IOError: [Errno 2] No such file or directory: './emb.tmp'
from evalne.
Related Issues (13)
- Does EvalNE work with RDF data? HOT 1
- [FEATURE] limiting thread usage HOT 2
- [BUG] precisionatk (evaluation/score.py) HOT 1
- Installing EvaNE v0.3.2 HOT 1
- More a question than an issue HOT 5
- runtimeerror when run simple-example.py
- Can we use EvalNE for multiplex embedding ? HOT 3
- The way to test tadw of the openne library is to make the following mistakes!using the simple-example.py HOT 8
- Train/test procedure for link prediction on NE HOT 4
- Network reconstruction question HOT 19
- [BUG] 1. TypeError: 'Results' object is not iterable. 2. TypeError: a bytes-like object is required, not 'str' HOT 7
- Confused about the train/test split for link prediction HOT 10
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 evalne.