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.

Usage

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)

tensorboard

ConfuseCallback

ModelSaverCallback

run_tensorboard

wait_ctrl_c

get_tf_callbacks

gpu

allow_gpu_memory_growth

transfer_learning

get_transfer_learning_model

Getting started

pip install

pip install tfhelper

Environments

  • Python 3.7

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.10.tar.gz (7.4 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.10-py3-none-any.whl (9.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: tfhelper-0.0.10.tar.gz
  • Upload date:
  • Size: 7.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.4.0.post20200518 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.7

File hashes

Hashes for tfhelper-0.0.10.tar.gz
Algorithm Hash digest
SHA256 72fb2ce7741f222b3add95df75c874745583fcd8d111e2dfff98ea9bb6492a05
MD5 05de568cc27ead4d5c493ed9b4cfa385
BLAKE2b-256 2eded1a4a326db17eb70caba2b306324b09fe4e6f359efce54ee6fe3132d1ffb

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tfhelper-0.0.10-py3-none-any.whl
  • Upload date:
  • Size: 9.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.4.0.post20200518 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.7

File hashes

Hashes for tfhelper-0.0.10-py3-none-any.whl
Algorithm Hash digest
SHA256 09ec34d1f7ce35b6c98b94fefb2b83889b106d76218b1414e02699edef4eba0d
MD5 7d8aaf7a220aa87420e2859d45565ea0
BLAKE2b-256 f885e7dce686b5bebb22b8957a2b5feea8e6ae7554bb9b59b7c8853ede400fb6

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