summaryrefslogtreecommitdiff
path: root/text_recognizer/data/transforms
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2023-09-11 22:10:45 +0200
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2023-09-11 22:10:45 +0200
commitd784c49566e5a7705539fb4ceb0461bad8f41361 (patch)
treea925281a3b335a9df3c0500d61f6571616275e26 /text_recognizer/data/transforms
parent43b10ea57f40983ec53c17a05f5b9fd2501f4eea (diff)
Update imports
Diffstat (limited to 'text_recognizer/data/transforms')
-rw-r--r--text_recognizer/data/transforms/pad.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/text_recognizer/data/transforms/pad.py b/text_recognizer/data/transforms/pad.py
index df1d83f..baf637a 100644
--- a/text_recognizer/data/transforms/pad.py
+++ b/text_recognizer/data/transforms/pad.py
@@ -1,7 +1,6 @@
"""Pad targets to equal length."""
import torch
-import torch.functional as F
from torch import Tensor