Skip to content

Commit

Permalink
Tfhub object detection improvements (#50)
Browse files Browse the repository at this point in the history
* Fix Colab's incompatibility w/ Pillow version

* Add %%capture to predict notebook

* Implements os.path.basename() instead of slicing

* Removes auth key

* Adding os.path.basename()

* Improvements at base64 version

* Pillow version update at pip installations

* Parallel processing improvements

* Parallel processing improvements

* Removes Verta's host from os environment

* Changes get_or_create_endpoint() to get_endpoint() on predict notebooks

* Removes Verta's host from os environment

* Removes debug=True parameter in Client()

* Download images with wget to work at Colab

* Remove zip() from executor.map() and adjust results DataFrame

* Merges deploy/predict base64 notebooks

* Merges deploy/predict url notebooks and adjusts folder structure

* Update Colab's badges

* Remove json dependency

* Cleaner code for results in dataframe

* Removes in-class print message

* Changes at ModelAPI args

* Cleanup in Model class and ModelAPI code

* Cleaner code for results in dataframe

* Implements wget instead of urllib.request

* Colab's tested NB

* Colab's tested NB

* Fix model playground.

* Removes unnecessary methods param

* Cleans code to get images urls

* Changes at model describe()

Co-authored-by: Liu <[email protected]>

* Saves image after PIL operations

* Changes predict() to accept lists

* Model input as dict

* Fix example() dict key

* Remove unnecessary nesting at model predictions

Co-authored-by: Liu <[email protected]>
  • Loading branch information
cfascina and liuverta authored Jan 5, 2023
1 parent fd84d89 commit 77b3116
Show file tree
Hide file tree
Showing 8 changed files with 1,231 additions and 1,229 deletions.
603 changes: 603 additions & 0 deletions deployment/tfhub/object-detection-base64.ipynb

Large diffs are not rendered by default.

628 changes: 628 additions & 0 deletions deployment/tfhub/object-detection-url.ipynb

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion deployment/tfhub/object-detection/base64/.gitignore

This file was deleted.

This file was deleted.

Loading

0 comments on commit 77b3116

Please sign in to comment.