Giter VIP home page Giter VIP logo

Comments (5)

ruizhecao96 avatar ruizhecao96 commented on July 22, 2024

get error.

Run model on reference(ref) and degraded(deg) Sample rate (fs) - No default. Must select either 8000 or 16000. Note there is narrow band (nb) mode only when sampling rate is 8000Hz.

it seems like the model only can train on 8000hz or 16000hz?

You can train the model on 44100kHz tracks, just comment out the assert line, but due to the self attention computation you need very large GPU memory to train.

from cmgan.

MMMMichaelzhang avatar MMMMichaelzhang commented on July 22, 2024

how to inference large wav audio file?when I inference a 60s 44100hz audio file ,it cause too much gpu memory,then it stopped.I set cut_length=44100*1,do you have any idea to solve this problem? Thank you very much.@ruizhecao96

from cmgan.

ruizhecao96 avatar ruizhecao96 commented on July 22, 2024

It should be ok only to infer only a one-second track of 44100kHz, I can infer10 seconds track of 16kHz on a 24GB GPU, how large memory is your GPU?

from cmgan.

MMMMichaelzhang avatar MMMMichaelzhang commented on July 22, 2024

my gpu is 24G,I can infer maybe a at most 10s track of 44100.I make every 10s chunks,then conbine them ,but got some audio problems in the connection.if I want to infer 60s,what should i do,do you have any solution?Thank you very much. @ruizhecao96

from cmgan.

ruizhecao96 avatar ruizhecao96 commented on July 22, 2024

I suggest to make the sample size of eahc batch dividable by 400, because the window length of stft is 400, this might solve the connection problem. e.g. for 441000 length track you can cut it to 440000 and reshape it to (11, 40000) and use it as input.

from cmgan.

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.