Merge pull request #8 from jwfraustro/main

update missed type hint
pull/10/head
toshiaki1729 2022-11-21 11:44:07 +09:00 committed by GitHub
commit 04a41d0234
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -198,7 +198,7 @@ class DatasetTagEditor:
print(f'Total {len(filepath_set)} files under the directory including not image files.')
def load_images(filepath_set: set[str]):
def load_images(filepath_set: Set[str]):
for img_path in filepath_set:
img_dir = os.path.dirname(img_path)
img_filename, img_ext = os.path.splitext(os.path.basename(img_path))