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.31.tar.gz
(13.6 kB
view hashes)
Built Distribution
tfhelper-0.0.31-py3-none-any.whl
(17.7 kB
view hashes)
Close
Hashes for tfhelper-0.0.31-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b78c45028b75fa61e0e27ac5cb199eb694fd3f8b7e7ecfda948b619dbe69816d |
|
MD5 | fe80b0b882ce4d5f3e37406e27a843c5 |
|
BLAKE2b-256 | 50133e71443f50893fb706c291394ab17d18bc8b2e690aa2afb6c025ecc8656e |