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

Error in PreEmphasis Class #29

Closed
Divya1612 opened this issue Aug 26, 2022 · 2 comments
Closed

Error in PreEmphasis Class #29

Divya1612 opened this issue Aug 26, 2022 · 2 comments

Comments

@Divya1612
Copy link

I am getting the following error in the PreEmphasis class:

RawNet3/RawNetBasicBlock.py", line 20, in forward
len(input.size()) == 2
AttributeError: 'builtin_function_or_method' object has no attribute 'size'

Could you please help?

@Jungjee
Copy link
Owner

Jungjee commented Aug 29, 2022

Hi, can you print your input? such as type, value?
Seems like your input is not a torch.Tensor.

@Divya1612
Copy link
Author

Thanks! It has been resolved now.

@Jungjee Jungjee closed this as completed Sep 20, 2022
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