Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ def get_local_path(
if is_local_storage_file:
filepath = url.split("?d=")[1]
filepath = safe_build_path(LOCAL_FILES_DOCUMENT_ROOT, filepath)
shutil.copy(filepath, cache_dir, follow_symlinks=True)
if os.path.exists(filepath):
logger.debug(
f"Local Storage file path exists locally, use it as a local file: {filepath}"
Expand Down
2 changes: 1 addition & 1 deletion src/label_studio_sdk/converter/converter.py
Original file line number Diff line number Diff line change
Expand Up @@ -891,7 +891,7 @@ def convert_to_yolo(
else:
output_label_dir = os.path.join(output_dir, "labels")
os.makedirs(output_label_dir, exist_ok=True)
is_keypoints = keypoints_in_label_config(self._schema)
is_keypoints = False #keypoints_in_label_config(self._schema)

if is_keypoints:
# we use this attribute to add id and parentID to annotation data
Expand Down
Loading