diff options
| author | Scott Gasch <[email protected]> | 2022-02-10 14:10:48 -0800 |
|---|---|---|
| committer | Scott Gasch <[email protected]> | 2022-02-10 14:10:48 -0800 |
| commit | f2600f30801c849fc1d139386e3ddc3c9eb43e30 (patch) | |
| tree | 74c5173bf47322bcfbbd2985adfb54741cf3c4cc /ml | |
| parent | 415c2c91972ea5a574dce166ec609926dcf19d73 (diff) | |
More cleanup.
Diffstat (limited to 'ml')
| l--------- | ml/pyproject.toml | 1 | ||||
| -rw-r--r-- | ml/quick_label.py | 6 |
2 files changed, 3 insertions, 4 deletions
diff --git a/ml/pyproject.toml b/ml/pyproject.toml new file mode 120000 index 0000000..1e11d78 --- /dev/null +++ b/ml/pyproject.toml @@ -0,0 +1 @@ +../pyproject.toml
\ No newline at end of file diff --git a/ml/quick_label.py b/ml/quick_label.py index 120ff5f..7e0a6bf 100644 --- a/ml/quick_label.py +++ b/ml/quick_label.py @@ -3,8 +3,8 @@ import glob import logging import os -from typing import Callable, List, NamedTuple, Optional, Set import warnings +from typing import Callable, List, NamedTuple, Optional, Set 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: - 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: |
