projects
/
python_utils.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
More cleanup.
[python_utils.git]
/
ml
/
quick_label.py
diff --git
a/ml/quick_label.py
b/ml/quick_label.py
index 120ff5fe92e644d22385741d2044d8c14d006dea..7e0a6bf64921533e00d719223d2657fb21ebbccf 100644
(file)
--- a/
ml/quick_label.py
+++ b/
ml/quick_label.py
@@
-3,8
+3,8
@@
import glob
import logging
import os
import glob
import logging
import os
-from typing import Callable, List, NamedTuple, Optional, Set
import warnings
import warnings
+from typing import Callable, List, NamedTuple, Optional, Set
import argparse_utils
import config
import argparse_utils
import config
@@
-80,9
+80,7
@@
def label(in_spec: InputSpec) -> None:
elif in_spec.image_file_prepopulated_list is not None:
images += in_spec.image_file_prepopulated_list
else:
elif in_spec.image_file_prepopulated_list is not None:
images += in_spec.image_file_prepopulated_list
else:
- raise ValueError(
- 'One of image_file_glob or image_file_prepopulated_list is required'
- )
+ raise ValueError('One of image_file_glob or image_file_prepopulated_list is required')
skip_list = read_skip_list()
for image in images:
skip_list = read_skip_list()
for image in images: