Closed Divya1612 closed 1 year 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?
Hi, can you print your input? such as type, value? Seems like your input is not a torch.Tensor.
input
torch.Tensor
Thanks! It has been resolved now.
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?