little code cleanup
This commit is contained in:
parent
4fade673f7
commit
d5ca16a4ed
7
ex3.py
7
ex3.py
@ -1,3 +1,9 @@
|
|||||||
|
"""
|
||||||
|
Author: Lukas Heiligenbrunner
|
||||||
|
Matr.Nr.: K12104785
|
||||||
|
Exercise 3
|
||||||
|
"""
|
||||||
|
|
||||||
import os.path
|
import os.path
|
||||||
from glob import glob
|
from glob import glob
|
||||||
|
|
||||||
@ -57,7 +63,6 @@ class ImageStandardizer:
|
|||||||
yield np.array(arr, dtype=np.float32)
|
yield np.array(arr, dtype=np.float32)
|
||||||
|
|
||||||
|
|
||||||
# Press the green button in the gutter to run the script.
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
std = ImageStandardizer(input_dir='unittest/unittest_input_0')
|
std = ImageStandardizer(input_dir='unittest/unittest_input_0')
|
||||||
print(std.analyze_images())
|
print(std.analyze_images())
|
||||||
|
Loading…
Reference in New Issue
Block a user