Skip to content

Commit db09731

Browse files
authored
Merge pull request #355 from superannotateai/friday
Friday 2
2 parents 27131c2 + 2b7fbce commit db09731

File tree

2 files changed

+3
-8
lines changed

2 files changed

+3
-8
lines changed

src/superannotate/lib/app/interface/cli_interface.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -212,11 +212,6 @@ def _upload_annotations(
212212
task=task,
213213
)
214214
annotations_path = temp_dir
215-
classes_path = f"{annotations_path}/classes/classes.json"
216-
self.controller.create_annotation_classes(
217-
project_name=project_name,
218-
annotation_classes=json.load(open(classes_path)),
219-
)
220215
if pre:
221216
upload_preannotations_from_folder_to_project(
222217
project_name, annotations_path

src/superannotate/lib/core/__init__.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@
1414
LOG_FILE_LOCATION = str(Path.home() / ".superannotate" / "sa.log")
1515
BACKEND_URL = "https://api.annotate.online"
1616

17-
DEFAULT_IMAGE_EXTENSIONS = ("jpg", "jpeg", "png", "tif", "tiff", "webp", "bmp")
18-
DEFAULT_FILE_EXCLUDE_PATTERNS = ("___save.png", "___fuse.png")
19-
DEFAULT_VIDEO_EXTENSIONS = ("mp4", "avi", "mov", "webm", "flv", "mpg", "ogg")
17+
DEFAULT_IMAGE_EXTENSIONS = ["jpg", "jpeg", "png", "tif", "tiff", "webp", "bmp"]
18+
DEFAULT_FILE_EXCLUDE_PATTERNS = ["___save.png", "___fuse.png"]
19+
DEFAULT_VIDEO_EXTENSIONS = ["mp4", "avi", "mov", "webm", "flv", "mpg", "ogg"]
2020
DEFAULT_HYPER_PARAMETERS = {
2121
"instance_type": "1 x T4 16 GB",
2222
"num_epochs": 12,

0 commit comments

Comments
 (0)