-
Notifications
You must be signed in to change notification settings - Fork 665
Feature/auto [infer-schema & auto-directory ingestion] #696
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
Conversation
Locust summaryGit referencesInitial: 1a62a6cTerminal: 9cef57c hub/auto/util.pyChanges:
hub/api/dataset.pyChanges:
hub/auto/computer_vision/classification.pyChanges:
hub/auto/infer.pyChanges:
hub/auto/tests/test_image_classification.pyChanges:
|
the tests i wrote may fail for windows... hopefully not though EDIT: aha! it didn't >:) |
don't merge yet, i added some asserts that should fail, if they don't then there might be a problem. basically the tests before should not have passed because kaggle credentials are required to run. |
I think many image datasets follow coco or voc style annotations, should we take that into account? |
yes, but this is version 1. i don't care to support all datasets right off the bat. this is to get the feature into the hands of testers immediately so we can iterate. there will be many followup PRs. |
this is basically ready to merge, i rewrote the tests to not use kaggle datasets. but only 1 test failed and its outside my context (the master branch clci is failing). should we merge it anyways? @mynameisvinn @AbhinavTuli @imshashank |
Codecov Report
@@ Coverage Diff @@
## master #696 +/- ##
==========================================
+ Coverage 89.09% 89.23% +0.14%
==========================================
Files 58 63 +5
Lines 4299 4366 +67
==========================================
+ Hits 3830 3896 +66
- Misses 469 470 +1
Continue to review full report at Codecov.
|
nice i see you fixed the tests! @AbhinavTuli good stuff |
made it very easy to write dataset auto ingestion code. this branch supports image_classification directories that are structured as class_folder -> images.
it also removed the
from_directory
method on hub.Dataset & replaced it withfrom_path
.