I was hitting this error too: def get_transformations(): return transforms.Compose([transforms.ToTensor()]) ... self.transforms ...
確定! 回上一頁