dcase2020_task2_variants icon indicating copy to clipboard operation
dcase2020_task2_variants copied to clipboard

AttributeError: module 'common' has no attribute 'ToTensor1d'

Open Ry0 opened this issue 5 years ago • 0 comments

When 1pytorch\01_test.py is executed, the following errors are printed.

Traceback (most recent call last):
  File "01_test.py", line 179, in <module>
    to_tensor = com.ToTensor1d()
AttributeError: module 'common' has no attribute 'ToTensor1d'

https://github.com/daisukelab/dcase2020_task2_variants/blob/f20dfd1689a0926d386d836d5320592ac2e8bc4f/1pytorch/01_test.py#L179

Could this be a mistake?

- to_tensor = com.ToTensor1d()
+ to_tensor = pytorch_common.ToTensor1ch()

Ry0 avatar May 11 '20 07:05 Ry0