question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

No such file Error: ../data/MSRvid2012

See original GitHub issue

When I run the demo.sh in examples directory, this error occurred:

word vectors loaded from ../data/glove.840B.300d.txt
word weights computed from ../auxiliary_data/enwiki_vocab_min200.txt using parameter a=-1.000000
remove the first 0 principal components
Traceback (most recent call last):
  File "sim_sif.py", line 28, in <module>
    parr, sarr = eval.sim_evaluate_all(We, words, weight4ind, sim_algo.weighted_average_sim_rmpc, params)
  File "../src/eval.py", line 64, in sim_evaluate_all
    p,s = sim_getCorrelation(We, words, prefix+i, weight4ind, scoring_function, params)
  File "../src/eval.py", line 13, in sim_getCorrelation
    f = open(f,'r')
IOError: [Errno 2] No such file or directory: '../data/MSRvid2012'

Would you please tell me that:

  1. Is this error detrimental to the model training ?
  2. Where to download the missing data file ?

Thanks a lot !

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:11 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
YingyuLiangcommented, Feb 23, 2017

Are you running it with the word vector file glove.840B.300d.txt?

This file contains a very large vocabulary (the file is about 6G), and probably using the whole set of word vectors causes memory issue. You can try using only the first 50,000 words (i.e., keep only the first 50,000 lines in the file), which merely affects the experiments.

0reactions
loretoparisicommented, Jul 21, 2017

@huache ok so I just cat the first 50K rows of the text file.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Reason for System Event Log srv Event ID: 2012
Reasons for logging System Event Log srv Event ID: 2012 - While transmitting or receiving data, the server encountered a network error.
Read more >
65747 - You receive a pop-up error "No such file or directory ...
Problem Note 65747: You receive a pop-up error "No such file or directory..." when uploading files to SASTSDrive using the WinSCP utility ...
Read more >
Intermittent session failures with error "[No such file or ...
Session fails intermittently while accessing the pmgmd state files on a Windows share, even though the files are present. ... 8720_0_0_0_1_1.dat].
Read more >
Error in Python IOError: [Errno 2] No such file or directory: 'data ...
Try to give the full path to your csv file open('/users/gcameron/Desktop/map/data.csv'). The python process is looking for file in the ...
Read more >
[ERR]: stat() failed (No such file or directory). #2058 - GitHub
This problem occurred when running sysrepo plugin on my embedded device: [err]: stat() failed (no such file or directory).
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found