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
Release history Release notifications | RSS feed
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.44.tar.gz
(14.2 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
tfhelper-0.0.44-py3-none-any.whl
(18.5 kB
view details)
File details
Details for the file tfhelper-0.0.44.tar.gz.
File metadata
- Download URL: tfhelper-0.0.44.tar.gz
- Upload date:
- Size: 14.2 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f0587497a454072c44613fffabc181290f35ccf173a13ea26fda1a261a3c9e14
|
|
| MD5 |
39adcc91c75d460044e458af5a37ec26
|
|
| BLAKE2b-256 |
169bee376f2f859dde7cc6c020a04245f268ed93d1c0e385b794db9aced7b0fd
|
File details
Details for the file tfhelper-0.0.44-py3-none-any.whl.
File metadata
- Download URL: tfhelper-0.0.44-py3-none-any.whl
- Upload date:
- Size: 18.5 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f3536cc8bf6834a84026ffeca5f6fa6d13132e51b0a583213f4b9ae34bcbea75
|
|
| MD5 |
ca83c3766efa87b4d40501886628145b
|
|
| BLAKE2b-256 |
a09cb0a7eacf3eeedde29c2cfcc6b14aaf18a046caf7f742901aa2c2e9fc7be8
|