Additional package for Tensorflow
Project description
TensorflowTraining
Additional python package for train models with Tensorflow.
Installation
pip install --upgrade tf-train
Usage
import tf-train as tft
In tft directly are available keras:
- tft.models
- tft.losses
- tft.optimizers
- tft.metrics
Use the tft.train() to train model.
Args:
train_dataset: Tensorflow Dataset object for train the model.
model: Keras trainable model.
epochs (int): Num of epochs of training.
loss: Loss function.
optimizer: Tensorflow optimizer. Default Adam with learning_rate=0.001.
metrics: List of tensorflow mertics. Default contains Recall and Precision.
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
tf-train-1.2.0.tar.gz
(2.4 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
File details
Details for the file tf-train-1.2.0.tar.gz.
File metadata
- Download URL: tf-train-1.2.0.tar.gz
- Upload date:
- Size: 2.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.1.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f9a21c2c0e1fa56e2abb28ea598be36e35912decffb07a80fa3498b199b5d71a
|
|
| MD5 |
ac9142a75693cdf636976e437c7a0ca4
|
|
| BLAKE2b-256 |
02f72003005e5b1da111a5d58b001f71a264ae7e0a20b92453a876b0535c5096
|
File details
Details for the file tf_train-1.2.0-py3-none-any.whl.
File metadata
- Download URL: tf_train-1.2.0-py3-none-any.whl
- Upload date:
- Size: 3.8 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/49.1.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
127b14a8d05539c57cf410f68260f8195e0c0a33ab20eda5b03632b1613bca2c
|
|
| MD5 |
33dda7411ba41a0c59cb145b12a28b26
|
|
| BLAKE2b-256 |
73472de926c74ec03564cfbe82ac0d0053cc0808a6f958a2ad382fb514d492f3
|