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

An error occured during Computing the distances #16

Open
sameerkhurana10 opened this issue Mar 4, 2019 · 2 comments
Open

An error occured during Computing the distances #16

sameerkhurana10 opened this issue Mar 4, 2019 · 2 comments

Comments

@sameerkhurana10
Copy link

sameerkhurana10 commented Mar 4, 2019

Hi,

running python bin/sample_eval1.py MFCC feats, gives me the following error

MFCC is the sample MFCCs provided in this repo.

Processing task across_talkers
Preprocessing... Writing the features in h5 format
Computing the distances
An error occured during the computation
Traceback (most recent call last):
  File "bin/sample_eval1.py", line 358, in <module>
final_score = fullrun(task, args.features, args.distance, args.output, ncpus=ncpus, keepcsv=args.csv)
  File "bin/sample_eval1.py", line 277, in fullrun
distance_file, distancefun, n_cpu=ncpus)
  File "/data/sls/temp/sameerk/tools/anaconda3/envs/abx2/lib/python2.7/site-packages/ABXpy-0.1.0-py2.7-linux-x86_64.egg/ABXpy/distances/distances.py", line 265, in compute_distances
jobs = create_distance_jobs(pair_file, distance_file, n_cpu)
  File "/data/sls/temp/sameerk/tools/anaconda3/envs/abx2/lib/python2.7/site-packages/ABXpy-0.1.0-py2.7-linux-x86_64.egg/ABXpy/distances/distances.py", line 41, in create_distance_jobs
by_dsets = [by_dset for by_dset in fh['unique_pairs']]
  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 "/data/sls/temp/sameerk/tools/anaconda3/envs/abx2/lib/python2.7/site-packages/h5py-2.9.0-py2.7-linux-x86_64.egg/h5py/_hl/group.py", line 262, in __getitem__
oid = h5o.open(self.id, self._e(name), lapl=self._lapl)
  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/h5o.pyx", line 190, in h5py.h5o.open

what could be going wrong?

@mmmaat
Copy link
Collaborator

mmmaat commented Mar 5, 2019

Hi,

I need more context to understand the bug...

  • What is bin/sample_eval1.py, can you paste it here?
  • Are you in a Docker container (which one)?
  • Can you pass the ABXy tests (by running python setup.py test in the ABXpy root folder)?

@sameerkhurana10
Copy link
Author

Hi,

Sorry, I should have mentioned that I am running Zerospeech2015 branch.

In the above branch we have bin/sample_eval1.py

I am not in a docker container.

Running python setup.py test in branch zerospeech2015, I have attached the full log file. (4 tests failed).
test_log.txt

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

2 participants