Giter Site home page Giter Site logo

libtsm's People

Contributors

meinardmueller avatar sebastianrosenzweig avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

daliasen

libtsm's Issues

Apple Silicon (M1) support

Hello,

libtsm fails to install (via pip) on a Mac with an Apple Silicon ARM CPU.

Not sure if there will be other issues as well, but for now it seems to be the dependency onto llvmlite/numba, which don't support Apple Silicon yet, see: numba/llvmlite#799.

Here's the error I'm seeing:

Building wheels for collected packages: numba, llvmlite
  Building wheel for numba (setup.py) ... done
  Created wheel for numba: filename=numba-0.55.1-cp39-cp39-macosx_12_0_arm64.whl size=2307917 sha256=[hash]
  Stored in directory: /Users/[user]/Library/Caches/pip/wheels/60/f4/43/[hash]
  Building wheel for llvmlite (setup.py) ... error
  error: subprocess-exited-with-error

I opened this issue here to track Apple Silicon support, but as it doesn't seem to be an issue with libtsm itself, feel free to close it.

Thanks!

division by zero

I had a division by zero problem while using the wsola_tsm() function:
.../lib/python3.8/site-packages/libtsm/tsm.py:111: RuntimeWarning: invalid value encountered in true_divide
ipa_sample = omega + hpi / ana_hop[i] # instantaneous phase advances per sample
.../lib/python3.8/site-packages/libtsm/tsm.py:209: RuntimeWarning: divide by zero encountered in true_divide
min_fac = np.min(syn_hop / ana_hop[1:]) # the minimal local stretching factor

You could add an exception for the case where an index of the "ana_hop" variable is 0.

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.