Skip to main content

This packages contains frequently used methods or classes in use of Tensorflow 2.x

Project description

tfhelper

Your friendly Tensorflow 2.x neighbor.

Documentation: https://jeikeilim.github.io/tfhelper/

Environments

  • Python 3.7

Getting started

pip install

pip install tfhelper

Structure

tfhelper.dataset

  • HDF5Generator
from tfhelper.dataset import HDF5Generator

train_generator = HDF5Generator("/dataset/path.hdf5", "training_data", "test_data")
train_dataset = train_generator.get_dataset(input_shape=(300, 300), batch_size=16, shuffle=True, n_shuffle=1000)

...
model = Define some model

model.fit(train_dataset)

tfhelper.gpu

  • allow_gpu_memory_growth

tfhelper.tensorboard

  • ConfuseCallback
  • ModelSaverCallback
  • SparsityCallback
  • run_tensorboard
  • wait_ctrl_c
  • get_tf_callbacks

tfhelper.tflite

  • keras_model_to_tflite
  • parse_config
  • predict_tflite_interpreter
  • evaluate_tflite_interpreter
  • load_pruned_model

tfhelper.transfler_learning

  • get_transfer_learning_model

tfhelper.visualization

  • get_cam_image

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tfhelper-0.0.33.tar.gz (13.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tfhelper-0.0.33-py3-none-any.whl (17.7 kB view details)

Uploaded Python 3

File details

Details for the file tfhelper-0.0.33.tar.gz.

File metadata

  • Download URL: tfhelper-0.0.33.tar.gz
  • Upload date:
  • Size: 13.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.3.1.post20200622 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.7.7

File hashes

Hashes for tfhelper-0.0.33.tar.gz
Algorithm Hash digest
SHA256 7031bff23b0076e115c48b2b7226cd241e8a99ef18cd6f5ebb4895f0d30d0a24
MD5 f5091e23eb5763436510a3b86c42b58e
BLAKE2b-256 c306c4ad72790925138039f3e2dd8ecf8856e7278459706830cdb0c470aaa535

See more details on using hashes here.

File details

Details for the file tfhelper-0.0.33-py3-none-any.whl.

File metadata

  • Download URL: tfhelper-0.0.33-py3-none-any.whl
  • Upload date:
  • Size: 17.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.3.1.post20200622 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.7.7

File hashes

Hashes for tfhelper-0.0.33-py3-none-any.whl
Algorithm Hash digest
SHA256 8ffff52f7417666416763ccacdbe92bac4b7c160b256366ee6ef00f1fbc5d4b9
MD5 bb4d846143fa2e3502c5e744d7ec20e4
BLAKE2b-256 1ae5b511e38c1e56b3c6c8cb7d17b474a043006d7fa55a0aee4db3ced7dc949e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page