Git Product home page Git Product logo

pyfasst's People

Contributors

rossbencina avatar wslihgt avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

pyfasst's Issues

Error when installing : pyfasst/SeparateLeadStereo/tracking/_tracking.cpp: No such file or directory

Hi!

Tried to install the library from the latest commit on github, and I got this error:

NB: I am using Ubuntu, and Python 2.7.5

building 'pyfasst.SeparateLeadStereo.tracking._tracking' extension
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/lib/python2.7/dist-packages/numpy/core/include -I/usr/include/python2.7 -c pyfasst/SeparateLeadStereo/tracking/_tracking.cpp -o build/temp.linux-x86_64-2.7/pyfasst/SeparateLeadStereo/tracking/_tracking.o
x86_64-linux-gnu-gcc: error: pyfasst/SeparateLeadStereo/tracking/_tracking.cpp: No such file or directory

TypeError: 'float' object cannot be interpreted as an index.

Reading and Writing WAV files with audiolab
('Computing the chosen signal representation:', 'stft')
Traceback (most recent call last):
  File "try.py", line  5, in <module>
    verbose=1, iter_num=50)
  File "build/bdist.linux-x86_64/egg/pyfasst/audioModel.py", line 2484, in __init__
  File "build/bdist.linux-x86_64/egg/pyfasst/audioModel.py", line 2339, in __init__
  File "build/bdist.linux-x86_64/egg/pyfasst/audioModel.py", line 278, in comp_transf_Cx
  File "build/bdist.linux-x86_64/egg/pyfasst/tftransforms/stft.py", line 382, in computeTransform
  File "build/bdist.linux-x86_64/egg/pyfasst/tftransforms/stft.py", line 47, in stft
TypeError: 'float' object cannot be interpreted as an index

The error message above appears whenever I try to execute to following code:

import pyfasst.audioModel as am
filename = 'music.wav'
model = am.MultiChanNMFConv(audio=filename,
                nbComps=2, nbNMFComps=32, spatial_rank=1,
                verbose=1, iter_num=50)
model.estim_param_a_post_model()
model.separate_spat_comps(dir_results='data/')

I have been stuck on this for 2 days. I think it has to do with the "audio" parameter in the MultiChanNMFConv class. However, I even tried the audio from http://bass-db.gforge.inria.fr/fasst/ and the same thing happened. Do you know why this is occurring?

Python 3 support

Does the package support Python 3? It doesn't seem like it does.

pip install pyfasst

Collecting pyfasst
  Using cached pyFASST-0.9.3.tar.gz
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-build-l2rhg0cg/pyfasst/setup.py", line 56, in <module>
        m.Extension.__dict__ = m._Extension.__dict__
    AttributeError: attribute '__dict__' of 'type' objects is not writable

    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-l2rhg0cg/pyfasst/

Install from pip broken

Seems like the issue was fixed in commit eccca72 but probably new version was not published to pypi. Therefore pip install pyfasst yield the same error :

c:\pyFASST-0.9.2\pyfasst\SeparateLeadStereo>python setup.py build_ext --inplace
  File "setup.py", line 7
    license='',
          ^
SyntaxError: invalid syntax

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.