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

Fix feature_dim of Spectrogram extractors. #1294

Merged
merged 1 commit into from
Mar 2, 2024

Conversation

csukuangfj
Copy link
Contributor

There is no num_ceps in SpectrogramConfig.


This PR fixes the following error:

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/Users/fangjun/open-source/lhotse/lhotse/features/kaldi/extractors.py", line 312, in feature_dim
    return self.config.num_ceps
AttributeError: 'SpectrogramConfig' object has no attribute 'num_ceps'

Copy link
Collaborator

@pzelasko pzelasko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@pzelasko pzelasko merged commit a07c604 into lhotse-speech:master Mar 2, 2024
10 of 11 checks passed
@pzelasko pzelasko added this to the 1.22.0 milestone Mar 2, 2024
@csukuangfj csukuangfj deleted the fix-extractor-dim branch March 2, 2024 14:21
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

Successfully merging this pull request may close these issues.

None yet

2 participants