Skip to content

Commit f25ef5f

Browse files
authored
Merge pull request #148 from wenh06/master
add some missing imports, again...
2 parents c61c4e7 + acb271c commit f25ef5f

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

dataset.py

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,15 @@
1010
@Detail :
1111
1212
'''
13-
from torch.utils.data.dataset import Dataset
14-
13+
import os
1514
import random
16-
import cv2
1715
import sys
16+
17+
import cv2
1818
import numpy as np
19-
import os
20-
import matplotlib.pyplot as plt
19+
20+
import torch
21+
from torch.utils.data.dataset import Dataset
2122

2223

2324
def rand_uniform_strong(min, max):
@@ -431,6 +432,7 @@ def get_image_id(filename:str) -> int:
431432

432433
if __name__ == "__main__":
433434
from cfg import Cfg
435+
import matplotlib.pyplot as plt
434436

435437
random.seed(2020)
436438
np.random.seed(2020)

0 commit comments

Comments
 (0)