Skip to content

Commit

Permalink
Removed torch module as already v0.3.0 and fixed flake8
Browse files Browse the repository at this point in the history
  • Loading branch information
vfdev-5 committed Sep 2, 2019
1 parent 7d20e1d commit 1983417
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion albumentations/pytorch/transforms.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@

class ToTensor(BasicTransform):
"""Convert image and mask to `torch.Tensor`.
"""

def __init__(self):
super(ToTensor, self).__init__(always_apply=True)

Expand Down
4 changes: 0 additions & 4 deletions albumentations/torch/__init__.py

This file was deleted.

0 comments on commit 1983417

Please sign in to comment.