I want to use librosa.display.specshow(self.mfcc[i], x_axis='time') function. But I am getting an error something similler to this .
librosa.display.specshow(self.mfcc[i], x_axis='time')
AttributeError: 'module' object has no attribute 'display'
When I see the source code I see even display util is there, it hasn't been included in __init__.py which is located in util directory.
Environment: 0.5.0
Yep, display module is now separate. If you want to use it call
´import librosa.display´
Am 11.03.2017 um 20:45 schrieb Geesara Prathap <[email protected]notifications@github.com>:
I want to use librosa.display.specshow(self.mfcc[i], x_axis='time') function. But I am getting an error something similler to this .
librosa.display.specshow(self.mfcc[i], x_axis='time')
AttributeError: 'module' object has no attribute 'display'
When I see the source code I see even display util is there, it hasn't been included in init.py which is located in util directory.
Environment: 0.5.0
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com/librosa/librosa/issues/526, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AG_MDL8gQYlNBOF6oSjKezQ5MiGikQtHks5rk3hhgaJpZM4Mab7L.
Hi stefan,
Yes, it works, Thanks for the prompt response. You can close this issue.
Thanks,
Geesara
In the documentation, this is not updated. I followed this tutorial and ended up here after the import error.
Most helpful comment
Yep, display module is now separate. If you want to use it call
´import librosa.display´
Am 11.03.2017 um 20:45 schrieb Geesara Prathap <[email protected]notifications@github.com>:
I want to use librosa.display.specshow(self.mfcc[i], x_axis='time') function. But I am getting an error something similler to this .
librosa.display.specshow(self.mfcc[i], x_axis='time')
AttributeError: 'module' object has no attribute 'display'
When I see the source code I see even display util is there, it hasn't been included in init.py which is located in util directory.
Environment: 0.5.0
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com/librosa/librosa/issues/526, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AG_MDL8gQYlNBOF6oSjKezQ5MiGikQtHks5rk3hhgaJpZM4Mab7L.