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

nomad #19

Open
nezihtopaloglu opened this issue Mar 12, 2025 · 2 comments
Open

nomad #19

nezihtopaloglu opened this issue Mar 12, 2025 · 2 comments

Comments

@nezihtopaloglu
Copy link

nezihtopaloglu commented Mar 12, 2025

I am calling scorer.py via the CLI, in the following format

python versa/bin/scorer.py \
    --score_config egs/speech.yaml \
    --gt test/test_samples/test1 \
    --pred test/test_samples/test2 \
    --output_file test_result

I am making sure that my pred and gt folders are correct. But at this location:

│ /nomad/nomad_versa/nomad.py:106 in predict    
                                                                                   
│   103 │   │   │   │   raise Exception(f"Path to the test files {deg} does not exist") 
│   104 │   │   elif mode == "csv":
│   105 │   │   │   if os.path.isfile(nmr) == False:  
│ ❱ 106 │   │   │   │   raise Exception(f"File {nmr} does not exist")             
│   107 │   │   │   if os.path.isfile(deg) == False: 
│   108 │   │   │   │   raise Exception(f"File {deg} does not exist")

I receive

Exception: File [ 1.00577017e-06  1.21194171e-06 -9.91101842e-07 ...  8.35229741e-07                                                                                                                               
  1.95582984e-07 -6.60099317e-07] does not exist    

It looks like the predict function in nomad.py expects a directory or a csv file, whereas the actual audio signal arrays are sent to it.

@ftshijt
Copy link
Contributor

ftshijt commented Mar 13, 2025

Thanks for notifying us the issue. @shimhz could you please look into it?

@shimhz
Copy link
Contributor

shimhz commented Mar 15, 2025

Thank you for letting us know. We will fix it and update it soon!

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

3 participants