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

Feature/luxonis loader dataset #57

Merged
merged 21 commits into from
Aug 5, 2024
Merged

Conversation

sokovninn
Copy link
Member

This PR includes:

  • Adding LuxonisLoader with plugin
  • Adjusting LuxonisDataset with plugin to the latest version
  • Minor fixes

Copy link

github-actions bot commented Jul 28, 2024

☂️ Python Coverage

current status: ✅

Overall Coverage

Lines Covered Coverage Threshold Status
1355 669 49% 0% 🟢

New Files

No new covered files...

Modified Files

File Coverage Status
datadreamer/dataset_annotation/owlv2_annotator.py 67% 🟢
datadreamer/pipelines/generate_dataset_from_scratch.py 5% 🟢
datadreamer/utils/config.py 100% 🟢
datadreamer/utils/convert_dataset.py 0% 🟢
datadreamer/utils/luxonis_dataset_converter.py 82% 🟢
TOTAL 51% 🟢

updated for commit: be6ca8e by action🐍

Copy link
Contributor

@HonzaCuhel HonzaCuhel left a comment

Choose a reason for hiding this comment

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

LGTM!

@sokovninn, I noticed there's no unittest for LuxonisDatasetConverter. Is it possible to locally test it somehow that it works?

image_batches = LOADERS_REGISTRY.get(args.loader_plugin)(
view="all", dataset_id=args.dataset_id
)
print(len(image_batches))
Copy link
Collaborator

Choose a reason for hiding this comment

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

Maybe leftover print statement?

print(len(image_batches))
else:
raise ValueError(
"GOOGLE_APPLICATION_CREDENTIALS environment variable is not set for using the loader plugin"
Copy link
Collaborator

Choose a reason for hiding this comment

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

I suppose you could have a loader plugin which does not rely on GOOGLE_APPLICATION_CREDENTIALS

Copy link

Test Results

  6 files    6 suites   38m 2s ⏱️
103 tests  49 ✅  54 💤 0 ❌
618 runs  292 ✅ 326 💤 0 ❌

Results for commit 4ac588f.

@sokovninn sokovninn marked this pull request as ready for review July 31, 2024 20:52
@sokovninn sokovninn requested a review from conorsim July 31, 2024 20:53
@sokovninn sokovninn merged commit 872d001 into dev Aug 5, 2024
@sokovninn sokovninn deleted the feature/luxonis-loader-dataset branch September 27, 2024 13:24
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.

4 participants