diff --git a/label_studio_converter/brush.py b/label_studio_converter/brush.py index ef097416..34d138c6 100644 --- a/label_studio_converter/brush.py +++ b/label_studio_converter/brush.py @@ -146,6 +146,12 @@ def save_brush_images_from_annotation( ) # sanitize filename for name in layers: + # sanitize label name + sanatized_name = name.replace('/', '-') + sanatized_name = sanatized_name.replace('\\', '-') + sanatized_name = sanatized_name.replace(' ', '-') + sanatized_name = sanatized_name.replace('.', '-') + filename = os.path.join( out_dir, 'task-'