Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix/luxonis dataset converter #90

Merged
merged 4 commits into from
Mar 3, 2025
Merged

Conversation

HonzaCuhel
Copy link
Contributor

@HonzaCuhel HonzaCuhel commented Mar 2, 2025

Purpose

Fixing LuxonisDataset conversion.

Specification

  • Fixed LuxonisDataset creation that isn't compatible with the new LuxonisDataset schema and indentation of the annotation yielding.

Dependencies & Potential Impact

None / not applicable

Deployment Plan

None / not applicable

Testing & Validation

  • Tested locally and on JH

@HonzaCuhel HonzaCuhel self-assigned this Mar 2, 2025
@HonzaCuhel HonzaCuhel marked this pull request as draft March 2, 2025 17:01
Copy link

github-actions bot commented Mar 2, 2025

☂️ Python Coverage

current status: ✅

Overall Coverage

Lines Covered Coverage Threshold Status
2012 1286 64% 0% 🟢

New Files

No new covered files...

Modified Files

File Coverage Status
datadreamer/utils/luxonis_dataset_converter.py 73% 🟢
TOTAL 73% 🟢

updated for commit: 13844bd by action🐍

Copy link

github-actions bot commented Mar 2, 2025

Test Results

  6 files    6 suites   3h 23m 28s ⏱️
 87 tests  67 ✅  20 💤 0 ❌
522 runs  398 ✅ 124 💤 0 ❌

Results for commit 13844bd.

♻️ This comment has been updated with latest results.

# if dataset_plugin is set, use that
if self.dataset_plugin:
if "GOOGLE_APPLICATION_CREDENTIALS" in os.environ:
logger.info(f"Using {self.dataset_plugin} dataset")
dataset_constructor = DATASETS_REGISTRY.get(self.dataset_plugin)
dataset = dataset_constructor(dataset_name)
dataset = dataset_constructor(
dataset_name, delete_existing=True, delete_remote=True
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

delete_existing and delete_remote are not typically present in datasets from the registry.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

But even if it is not typical, isn't better to still have it there, so maybe in the future it might be needed?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, we can keep it.

Copy link
Member

@sokovninn sokovninn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@HonzaCuhel HonzaCuhel marked this pull request as ready for review March 3, 2025 23:42
@HonzaCuhel HonzaCuhel merged commit b39a334 into main Mar 3, 2025
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants