dcase2020_task2_variants
dcase2020_task2_variants copied to clipboard
AttributeError: module 'common' has no attribute 'ToTensor1d'
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()