Jungjee / RawNet

Official repository for RawNet, RawNet2, and RawNet3
MIT License
357 stars 55 forks source link

Error in PreEmphasis Class #29

Closed Divya1612 closed 1 year ago

Divya1612 commented 2 years ago

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 commented 2 years ago

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

Divya1612 commented 2 years ago

Thanks! It has been resolved now.