Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AttributeError: module 'audiolazy.lazy_lpc' has no attribute 'nautocor' #12

Open
lfgogogo opened this issue Jan 11, 2022 · 3 comments
Open

Comments

@lfgogogo
Copy link

Hi,i'm using audiolazy to process lpc feature,but i get error below:
image
AttributeError: module 'audiolazy.lazy_lpc' has no attribute 'nautocor'
Anyone knows the reason,please help me.

@danilobellini
Copy link
Owner

Probably you loaded it with from audiolazy import lazy_lpc as lpc or import audiolazy.lazy_lpc as lpc, but the lpc from the documentation isn't that module. Instead, you should use from audiolazy import lpc (or from audiolazy.lazy_lpc import lpc, which might be required for certain IDE autocomplete features).

@lfgogogo
Copy link
Author

I had truely loaded it using import audiolazy.lazy_lpc as lpc,but i also tried from audiolazy import lpc or from audiolazy.lazy_lpc import lpc,i got the same error.

@lfgogogo
Copy link
Author

I moved the block which contain strategy-nautocor under the 'code lpc = StrategyDict("lpc")' in lazy_lpc.py,then my code runs,although i don't know the reason.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants