Git Product home page Git Product logo

Comments (10)

gabrielmittag avatar gabrielmittag commented on August 29, 2024

Hi, there is no run_predict_file.py, did you mean run_predict.py? Which arguments did you use? Here is an example on how to use it from the readme:
python run_predict.py --mode predict_file --pretrained_model weights/nisqa.tar --deg /path/to/wav/file.wav --output_dir /path/to/dir/with/results

from nisqa.

YoungJay0612 avatar YoungJay0612 commented on August 29, 2024

Sorry,I have written wrong in the commnet. But actually I run the run_predict.py as the example told. Here is the results:
nisaq

from nisqa.

gabrielmittag avatar gabrielmittag commented on August 29, 2024

Hm I am not sure, could you share your wav file so I could test it? Or you could try one of the wav files from the NISQA dataset

from nisqa.

YoungJay0612 avatar YoungJay0612 commented on August 29, 2024

test.zip
hello,thanks so much. the test.zip is the wav file I used, you can have a try. And I will ttry to test the files from the NISQA dataset to confirm.

from nisqa.

YoungJay0612 avatar YoungJay0612 commented on August 29, 2024

Here is the result of the DEMAND data DLIVING_16k chn01.wav. The result is the same.
nisaq2

from nisqa.

gabrielmittag avatar gabrielmittag commented on August 29, 2024

I just made a fresh install of the conda environment on an Ubuntu machine and cannot reproduce the error with the test.wav. Are you sure you are using the latest master branch? Did you install the environment with conda env create -f env.yml? Could you maybe double check which pytorch version you have installed in your environment?

from nisqa.

YoungJay0612 avatar YoungJay0612 commented on August 29, 2024

As you mentioned, I have tried again. The version of the pytorch is as follows, and cannot find a version of 1.10.1 with pip install.
nisaq3

from nisqa.

gabrielmittag avatar gabrielmittag commented on August 29, 2024

Hm that is kind of strange. I guess there must be something weird with your installation because the version should definitely be available with pip

from nisqa.

YoungJay0612 avatar YoungJay0612 commented on August 29, 2024

It's really unimaginable. I reinstall the torch==1.10.1 today as what I have did yesterday, and sucess in one fell swoop. Now It can be running with your example script. Thanks a lot for your patient reply. Now I can test it any way I want.

from nisqa.

gabrielmittag avatar gabrielmittag commented on August 29, 2024

No worries, great that it works for you now

from nisqa.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.