From 0d307facb16236174c302dc7714f7f20f434a4a6 Mon Sep 17 00:00:00 2001 From: Jordan Gong Date: Thu, 31 Dec 2020 10:57:35 +0800 Subject: Make super class constructor revoke consistent --- utils/dataset.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'utils') 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 -- cgit v1.2.3