-
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
Iqr web demo #10
Iqr web demo #10
Conversation
Also added async LSH code generation compute function and CLI interface.
Made work function the first argument in order to be more similar in argument format to other map functions.
Plus added loop logging to compute classifications script.
And: - added a descriptor output validation step to update script. - tweaked release note - added image-only note to compute_many_descriptors function due to current content validation code (opens as PIL.Image).
MEMEX specific scripts
Like: - Lazy connection during postgres descriptor index batch operations - remove int cast for parameters in get_cdr_images - tweaked some logging messages - added progress reporting to many-descriptor computation script - added release note
Various updates to minor things
Index label classifier
Before, performed explicitly image content specific actions on input data, which is not generically guarenteed. Added CLI option to optionally enable those checks when user knows input data is going to be imagery. Moved byte loading check from base compute function into the utility script.
…image-dependence Removed explicit image data dependence from util
Fixed bug with element iteration in ``compute_many_descriptors`` function
Of note: - Changed ``compute_many_descriptors.py`` script default batch size to 0, meaning no high level batches. - Removed old and added new configuration section to docker IQR service config due to the recent addition of IQR controller session timeout/expiration feature. - Caffe descriptor generator can now take a file-like object for its image mean parameter. - Added logging message when running ``parallel_map`` with ordered turned on. - Changed default value for IQR web service session expiration enabled to false.
fix/update configs and comments
script to cluster via MiniBatchKMeans (scikit-learn)
…r index In order to take advantage of any batch-query functionality in descriptor index backend used.
memex hackathon updates -- deep learning classifier configs
Standardized cli_parsing function definition and filled in missing utility hooks in utility documentation file.
Add setup.py installation support
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #10 +/- ##
==========================================
+ Coverage 64.09% 67.58% +3.48%
==========================================
Files 28 34 +6
Lines 3250 3424 +174
==========================================
+ Hits 2083 2314 +231
+ Misses 1167 1110 -57
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
09a0951
to
b01932e
Compare
While we're not going to get to >=80% coverage, let's add additional unit tests to cover the lines you've modified here (in reference to the "codecov/patch" check). |
smqtk_iqr/web/search_app/sample_configs/runApp.IqrSearchDispatcher.json
Outdated
Show resolved
Hide resolved
docker/smqtk_iqr_playground/default_confs/cpu/compute_many_descriptors.json
Show resolved
Hide resolved
docker/smqtk_iqr_playground/default_confs/cpu/compute_many_descriptors.json
Show resolved
Hide resolved
docker/smqtk_iqr_playground/default_confs/cpu/compute_many_descriptors.json
Outdated
Show resolved
Hide resolved
docker/smqtk_iqr_playground/default_confs/cpu/compute_many_descriptors.json
Outdated
Show resolved
Hide resolved
docker/smqtk_iqr_playground/default_confs/cpu/compute_many_descriptors.json
Outdated
Show resolved
Hide resolved
* add-missing-files: (64 commits) Fix IQR Playground docker image build issues Fix issues with flake8 and mypy due to rebase on CI update Add some mypy settings to make testing non-trivial Fix various Flake8 exposed issues Update FAISS TPL docker image build to compile actual bytecode Update ABC references to use collections.abc instead of collections Fixup/Update iqr images to use FAISS indexing Update classifier service docker builds IQR image update part 2 - Update/Collapse dockerfile Caffe update part 2 - New caffe TPL setup Update FAISS docker image Fix iqr-playground image build and helper run scripts Renamed DescriptorIndex to DescriptorSet Fix compute_functions.compute_many_descriptors + unit tests Added FAISS docker image build to inherit/copy from Update docstrings Update variable name for clarity Renamed various utility modules with "_utils" in their names PEP8 cleanup of compute_functions.py Avoid loading all data elements for transformation ...
90c3381
to
3a199fa
Compare
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.
99% there! Just two minor tweaks before we merge this.
3a199fa
to
53d3e86
Compare
No description provided.