-
Notifications
You must be signed in to change notification settings - Fork 6
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
Conversation
☂️ Python Coverage
Overall Coverage
New FilesNo new covered files... Modified Files
|
Test Results 6 files 6 suites 3h 23m 28s ⏱️ 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 |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Purpose
Fixing
LuxonisDataset
conversion.Specification
LuxonisDataset
creation that isn't compatible with the newLuxonisDataset
schema and indentation of the annotation yielding.Dependencies & Potential Impact
None / not applicable
Deployment Plan
None / not applicable
Testing & Validation