X-Git-Url: https://wannabe.guru.org/gitweb/?a=blobdiff_plain;f=ml%2Fquick_label.py;h=7e0a6bf64921533e00d719223d2657fb21ebbccf;hb=f2600f30801c849fc1d139386e3ddc3c9eb43e30;hp=120ff5fe92e644d22385741d2044d8c14d006dea;hpb=415c2c91972ea5a574dce166ec609926dcf19d73;p=python_utils.git 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: