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
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.16.tar.gz
(7.6 kB
view hashes)
Built Distribution
tfhelper-0.0.16-py3-none-any.whl
(10.0 kB
view hashes)
Close
Hashes for tfhelper-0.0.16-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cee2ca4ce8fc018e27a1c5667816a1455439f7bc059953ac83d73d0c562c70d0 |
|
MD5 | c6f4e1f38b2196e26336e773c4e8f117 |
|
BLAKE2b-256 | 9966d1df91e8413c897b253624b605bb4bac8619b967f6bc6cb4af57fd0d69c7 |