fingerprinted now should work correctly

This commit is contained in:
Si11ium
2020-05-20 13:29:16 +02:00
parent 196b1af7ae
commit b87a56e8c6
3 changed files with 4 additions and 2 deletions

View File

@ -4,5 +4,6 @@ from torchvision.transforms import ToTensor as TorchVisionToTensor
class ToTensor(TorchVisionToTensor):
def __call__(self, pic):
# Make it float .float() == 32bit
tensor = super(ToTensor, self).__call__(pic).float()
return tensor