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

Lacking of ABX_Task files provided in the dataset. #7

Open
elenazy opened this issue May 3, 2021 · 0 comments
Open

Lacking of ABX_Task files provided in the dataset. #7

elenazy opened this issue May 3, 2021 · 0 comments

Comments

@elenazy
Copy link

elenazy commented May 3, 2021

Hi,
I have successfully trained the CPC model and vocoder following the instructions, but I met the problems while evaluating the model for ABX scores.

(zerospeech2020) cad-1@cad1-SYS-7048GR-TR:~/zhangying/VectorQuantizedCPC$ zerospeech2020-evaluate 2019 -j10 -d levenshtein baseline/ -o 2019_levenshtein.json
[INFO] evaluating 2019 track for english test
Traceback (most recent call last):
  File "/home/cad-1/anaconda3/envs/zerospeech2020/bin/zerospeech2020-evaluate", line 33, in <module>
    sys.exit(load_entry_point('zerospeech2020==0.2', 'console_scripts', 'zerospeech2020-evaluate')())
  File "/home/cad-1/anaconda3/envs/zerospeech2020/lib/python3.8/site-packages/zerospeech2020-0.2-py3.8.egg/zerospeech2020/evaluation/main.py", line 197, in main
  File "/home/cad-1/anaconda3/envs/zerospeech2020/lib/python3.8/site-packages/zerospeech2020-0.2-py3.8.egg/zerospeech2020/evaluation/evaluation_2019.py", line 60, in evaluate
  File "/home/cad-1/anaconda3/envs/zerospeech2020/lib/python3.8/site-packages/zerospeech2020-0.2-py3.8.egg/zerospeech2020/evaluation/evaluation_2019.py", line 60, in <dictcomp>
  File "/home/cad-1/anaconda3/envs/zerospeech2020/lib/python3.8/site-packages/zerospeech2020-0.2-py3.8.egg/zerospeech2020/evaluation/evaluation_2019.py", line 108, in _evaluate_single
  File "/home/cad-1/anaconda3/envs/zerospeech2020/lib/python3.8/site-packages/zerospeech2020-0.2-py3.8.egg/zerospeech2020/evaluation/abx.py", line 298, in abx
  File "/home/cad-1/anaconda3/envs/zerospeech2020/lib/python3.8/site-packages/zerospeech2020-0.2-py3.8.egg/zerospeech2020/evaluation/abx.py", line 231, in _abx
  File "/home/cad-1/anaconda3/envs/zerospeech2020/lib/python3.8/site-packages/ABXpy/distances/distances.py", line 300, in compute_distances
    jobs = create_distance_jobs(pair_file, distance_file, n_cpu)
  File "/home/cad-1/anaconda3/envs/zerospeech2020/lib/python3.8/site-packages/ABXpy/distances/distances.py", line 54, in create_distance_jobs
    with h5py.File(pair_file, 'r') as fh:
  File "/home/cad-1/anaconda3/envs/zerospeech2020/lib/python3.8/site-packages/h5py/_hl/files.py", line 406, in __init__
    fid = make_fid(name, mode, userblock_size,
  File "/home/cad-1/anaconda3/envs/zerospeech2020/lib/python3.8/site-packages/h5py/_hl/files.py", line 173, in make_fid
    fid = h5f.open(name, flags, fapl=fapl)
  File "h5py/_objects.pyx", line 54, in h5py._objects.with_phil.wrapper
  File "h5py/_objects.pyx", line 55, in h5py._objects.with_phil.wrapper
  File "h5py/h5f.pyx", line 88, in h5py.h5f.open
OSError: Unable to open file (unable to open file: name = 'datasets/2019/ABXTasks/byCtxt_acSpkr.abx', errno = 2, error message = 'No such file or directory', flags = 0, o_flags = 0)

I havn't found ABXTasks in datasets.zip. Can you give me some help?

Thanks very much!

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

1 participant