summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorJordan Gong <jordan.gong@protonmail.com>2020-12-31 10:57:35 +0800
committerJordan Gong <jordan.gong@protonmail.com>2020-12-31 10:57:35 +0800
commit0d307facb16236174c302dc7714f7f20f434a4a6 (patch)
tree9d4c76cc1e55a129bea44af1f11e2fd234ae73f5 /utils
parent07de5a9797a4f53779fe43c14ee51bdc4e248463 (diff)
Make super class constructor revoke consistent
Diffstat (limited to 'utils')
-rw-r--r--utils/dataset.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/dataset.py b/utils/dataset.py
index bb4d762..ded9fd5 100644
--- a/utils/dataset.py
+++ b/utils/dataset.py
@@ -54,7 +54,7 @@ class CASIAB(data.Dataset):
num_input_channels = 3, frame_height = 64, frame_width = 32)
need about 22 GB of RAM.
"""
- super(CASIAB, self).__init__()
+ super().__init__()
self._root_dir = root_dir
self._is_train = is_train
self._num_sampled_frames = num_sampled_frames