Giter VIP home page Giter VIP logo

Comments (3)

DavidDoukhan avatar DavidDoukhan commented on June 4, 2024

Hi Lzj520,

Thanks for your feedback.
Could you provide me more details on your configuration, in order to make your issue reproductible?

I would need the following informations:

Step to reproduce

  1. Installed using ...
  2. Run as ...
  3. Got ... error

Environment

OS
Installation type (Conda, pip, other)
Hardware spec (GPU / CPU / etc ... )
Python version

Additional context

Kind regards,

from inaspeechsegmenter.

lzj520 avatar lzj520 commented on June 4, 2024

Memory unfreed
Line # Mem usage Increment Line Contents

13    104.7 MiB    104.7 MiB   @profile
14                             def get_voice_ratedata(wavname):
15    104.7 MiB      0.0 MiB       try:
16    106.4 MiB      1.7 MiB           sig, read_framerate = librosa.load(wavname, sr=16000)
17    106.4 MiB      0.0 MiB           print('sig', sys.getrefcount(sig))
18    106.4 MiB      0.0 MiB           print('read_framerate', sys.getrefcount(read_framerate))
19    106.4 MiB      0.0 MiB           return sig, read_framerate
20                                 finally:
21    106.4 MiB      0.0 MiB           del sig,read_framerate
22    106.4 MiB      0.0 MiB           gc.collect()

model name : Intel(R) Xeon(R) CPU E5-2680 v3 @ 2.50GHz
model name : Intel(R) Xeon(R) CPU E5-2680 v3 @ 2.50GHz
model name : Intel(R) Xeon(R) CPU E5-2680 v3 @ 2.50GHz
model name : Intel(R) Xeon(R) CPU E5-2680 v3 @ 2.50GHz

flask+gunicorn+gevent+python3+liunx

from inaspeechsegmenter.

DavidDoukhan avatar DavidDoukhan commented on June 4, 2024

Dear Lzj520,

inaSpeechSegmenter is not based on librosa.
It seems the code you're showing does not belong to inaSpeechSegmenter, and do not make use of inaSpeechSegmenter.
I cannot help you based on this bug description.

Kind regards,

from inaspeechsegmenter.

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.