Skip to content

ai-ml-with-kapil/TENSORFLOW_HUB

Repository files navigation

Use of TensorFlow HUB

Steps to follow:

  1. Install tensorflow_hub

pip install --upgrade tensorflow_hub

  1. clone git repository

git clone --depth 1 https://github.com/tensorflow/models

  1. Initializing the APIs

%%bash

sudo apt install -y protobuf-compiler

cd models/research/

protoc object_detection/protos/*.proto --python_out=.

cp object_detection/packages/tf2/setup.py .

python -m pip install .

for installing protobuf [on MAC]:

- Open Terminal and type the following

- PROTOC_ZIP=protoc-3.7.1-osx-x86_64.zip

- curl -OL https://github.com/google/protobuf/releases/download/v3.7.1/$PROTOC_ZIP

- sudo unzip -o $PROTOC_ZIP -d /usr/local bin/protoc

- rm -f $PROTOC_ZIP
  1. File Name hub_project_pretrained is pre-trained model
  2. File Name hub_project_ImageApplication is utilizing trained model to detect objects in our images.
  3. File Name hub_project_VideoApplication is utilizing trained model to detect objects in video using webcam.

Join me:

Whatsapp: https://qrgo.page.link/TMiTp

YouTUBE: https://qrgo.page.link/wh5tq

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages