Skip to content

Commit

Permalink
Remove make_image_classifier
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 544286811
  • Loading branch information
TensorFlow Hub Authors authored and Copybara-Service committed Jun 29, 2023
1 parent 109f440 commit cba7008
Show file tree
Hide file tree
Showing 10 changed files with 12 additions and 1,201 deletions.
4 changes: 1 addition & 3 deletions docs/common_saved_model_apis/images.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!--* freshness: { owner: 'akhorlin' reviewed: '2022-10-17' review_interval: '6 months' } *-->
<!--* freshness: { owner: 'akhorlin' reviewed: '2023-06-28' review_interval: '6 months' } *-->

# Common SavedModel APIs for Image Tasks

Expand Down Expand Up @@ -72,8 +72,6 @@ Reusable SavedModels for image feature vectors are used in

* the Colab tutorial
[Retraining an Image Classifier](https://colab.research.google.com/github/tensorflow/hub/blob/master/examples/colab/tf2_image_retraining.ipynb),
* the command-line tool
[make_image_classifier](https://github.com/tensorflow/hub/tree/master/tensorflow_hub/tools/make_image_classifier).

<a name="classification"></a>

Expand Down
6 changes: 0 additions & 6 deletions tensorflow_hub/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -486,12 +486,6 @@ py_library(
name = "expect_numpy_installed",
)

# We expect absl to already be installed on the system, e.g. via
# `pip install absl-py`
py_library(
name = "expect_absl_py_installed",
)

# We expect the runtime libraries for generated Python protocol messages
# to already be installed on the system, e.g. via
# `pip install protobuf`
Expand Down
1 change: 0 additions & 1 deletion tensorflow_hub/pip_package/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,5 @@ sh_binary(
srcs = ["build_pip_package.sh"],
data = [
"//tensorflow_hub",
"//tensorflow_hub/tools/make_image_classifier",
],
)
26 changes: 11 additions & 15 deletions tensorflow_hub/pip_package/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,25 +46,19 @@
setup(
name=project_name, # Automatic: tensorflow_hub, etc. Case insensitive.
version=version.replace('-', ''),
description=('TensorFlow Hub is a library to foster the publication, '
'discovery, and consumption of reusable parts of machine '
'learning models.'),
description=(
'TensorFlow Hub is a library to foster the publication, '
'discovery, and consumption of reusable parts of machine '
'learning models.'
),
long_description='',
url='https://github.com/tensorflow/hub',
author='Google LLC',
author_email='packages@tensorflow.org',
packages=find_packages(),
install_requires=REQUIRED_PACKAGES,
extras_require={
'make_image_classifier': ['keras_preprocessing[image]'],
},
entry_points={
'console_scripts': [
('make_image_classifier = '
'tensorflow_hub.tools.make_image_classifier.'
'make_image_classifier:run_main [make_image_classifier]'),
],
},
extras_require={},
entry_points={},
# PyPI package information.
classifiers=[
'Development Status :: 4 - Beta',
Expand All @@ -86,6 +80,8 @@
'Topic :: Software Development :: Libraries :: Python Modules',
],
license='Apache 2.0',
keywords=('tensorflow machine learning share module subgraph component hub '
'embedding retraining transfer'),
keywords=(
'tensorflow machine learning share module subgraph component hub '
'embedding retraining transfer'
),
)
74 changes: 0 additions & 74 deletions tensorflow_hub/tools/make_image_classifier/BUILD

This file was deleted.

148 changes: 0 additions & 148 deletions tensorflow_hub/tools/make_image_classifier/README.md

This file was deleted.

14 changes: 0 additions & 14 deletions tensorflow_hub/tools/make_image_classifier/__init__.py

This file was deleted.

0 comments on commit cba7008

Please sign in to comment.