harritaylor / torchvggish

Pytorch port of Google Research's VGGish model used for extracting audio features.
Apache License 2.0
374 stars 66 forks source link

'Tensor' object has no attribute 'T' #15

Closed willard-yuan closed 4 years ago

willard-yuan commented 4 years ago

Hi @harritaylor, The vggish.py in line 87 reports no attribute 'T', which Pytorch version do you use?

willard-yuan commented 4 years ago

'T' should change to .t().