Skip to main content

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


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.3.0.tar.gz (3.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tf_train-1.3.0-py3-none-any.whl (5.0 kB view details)

Uploaded Python 3

File details

Details for the file tf-train-1.3.0.tar.gz.

File metadata

  • Download URL: tf-train-1.3.0.tar.gz
  • Upload date:
  • Size: 3.2 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

Hashes for tf-train-1.3.0.tar.gz
Algorithm Hash digest
SHA256 73477bc409cad2e388813f2d4089dffde3c059e700bca82e6c47454d615c4224
MD5 0c3c1e9e715f782c3ab699a334017967
BLAKE2b-256 a2991d1ee28e735333c7ade9540f8be92f8ceb5b37d1c67dd1d3ad8b2d0cd102

See more details on using hashes here.

File details

Details for the file tf_train-1.3.0-py3-none-any.whl.

File metadata

  • Download URL: tf_train-1.3.0-py3-none-any.whl
  • Upload date:
  • Size: 5.0 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

Hashes for tf_train-1.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7101f3f9053f03629394136fed96102d78adb29e7c1c5d3d3aba57cce8c63dba
MD5 4a763a78f6007933512be6399835cb7b
BLAKE2b-256 b58269579869b530123f29de5541a9f2092df1e8163c20435619d3b34fd03878

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