Initial support for automatic fixing of additional and wrong label
This commit is contained in:
+1
-2
@@ -210,8 +210,7 @@ def create_jpg(identifier, group_index, group, root_dir):
|
||||
|
||||
print(f"Saved {output_path} with {len(group)} ({os.path.getsize(output_path)/1024/1024:.2f} MB)")
|
||||
|
||||
def natural_key(text):
|
||||
return [int(c) if c.isdigit() else c.lower() for c in re.split(r'(\d+)', str(text))]
|
||||
from utils import natural_key
|
||||
|
||||
|
||||
def process_identifier(identifier, files_info, root_dir):
|
||||
|
||||
Reference in New Issue
Block a user