Giter VIP home page Giter VIP logo

Comments (7)

ruizhecao96 avatar ruizhecao96 commented on July 22, 2024

Yes it requires large memories, the computational complexity of attention increase quadratically with the increase of the input length, you can reduce the length of track segmentation to reduce the memory cost.

from cmgan.

DingChun-code avatar DingChun-code commented on July 22, 2024

Thank you for your answer,I wonder if reducing the track length will affect the performance of the model?

from cmgan.

ruizhecao96 avatar ruizhecao96 commented on July 22, 2024

Yes, of course, it has some impact because attention relies on long-distance dependency if you reduce the track length to 40ms or 80ms it will have an extensive drop.

from cmgan.

DingChun-code avatar DingChun-code commented on July 22, 2024

Sorry to bother you again, I try to use the code training model to use batch_ size=4,cut_ len=16000 * 2, and the model trained for 80 and 120 epochs was tested, but the two results were found to be lower than the result in the paper.

from cmgan.

ruizhecao96 avatar ruizhecao96 commented on July 22, 2024

How much lower it is? If not much you can try to test with less epochs, as we train with only batch size of 3.

from cmgan.

DingChun-code avatar DingChun-code commented on July 22, 2024

the ssnr is only 10.4 in epoch=80, I want ask what method do you use to reduce the data to 16 khz.

from cmgan.

SherifAbdulatif avatar SherifAbdulatif commented on July 22, 2024

You can use the librosa downsampling which is similar to torch:
audio_down, sr = librosa.load(audio_path, sr=16000)

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.