Tfignite
Tfignite is a project that stems from ignite. Ignite is a high-level library to help with training neural networks in PyTorch, while Tfignite bares similar design / api and is designed dedicated to tensorflow 2.0.
For the full API reference, read the online documentation. For example usage, check the examples directory.
Why tfignite?
Tfignite separates training/evaluation loop from model/dataset computation graph. This makes a single training/evaluation script highly portable to different project and developers only need to focus on how to build the model and dataset for their tasks. The difference from Keras is that the training/evaluation loop is not part of Model's APIs; instead, developers define model forward pass function, which is then injected into the loop defined by an Engine. Users can also register event handlers in different phases of a training/evaluation loop (for e.g. ITERATION_STARTED).
Apart from the aforementioned separation of model forward pass function and boilerplate loop in Engine (ignite has full credits for this). Tfignite further reduce boilerplate code by defining the Model, Dataset, Callback, ArgumentParser interfaces:
Model: Defines thecreate_trainerand thecreate_evaluatorfunction, both of which injects a forward pass function to anEngineand returns it to the training/evaluation script.Dataset: Defines an unified interfaceDataset.createwrapping overtf.data.Dataset.Callback: Defines a interface to group relatedEngineevent handlers in different phases. For example,Checkpointerloads the checkpoint at the beginning of training and stores the checkpoint onEPOCH_COMPLETED.ArgumentParser: Inherited fromargparse.ArgumentParser, the parser pass itself to the Model and Dataset classes for parsing Model-specific and Dataset-specific arguments. This further separates the Model development and the training/evaluation script.
Installation
pip install tfignite
Metadata
Release files for tfignite 0.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| tfignite-0.0.4.tar.gz | 10.4 kB | Without provenance | Details for tfignite-0.0.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| tfignite-0.0.4-py3-none-any.whl | Python 3 | none | any | Details for tfignite-0.0.4-py3-none-any.whl |
Total release size: 22.8 kB
Release files / tfignite-0.0.4.tar.gz
| Download URL | tfignite-0.0.4.tar.gz |
|---|---|
| Size | 10.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
99b676165e06b366f75eaa92f47b69a1dc05e90ecd0df87eeb4dd6ab9b77d4a5
|
|
BLAKE2b-256 checksum How to use checksums |
3214e55bb9d81a29bce07e63cd71e267addf02886418522fbf60ded9f4d93e6a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.3
|
Release files / tfignite-0.0.4-py3-none-any.whl
| Download URL | tfignite-0.0.4-py3-none-any.whl |
|---|---|
| Size | 12.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
19fa3425a8a4373e2078913a09576cfd8f71cd440b411bcd51550068f93779b3
|
|
BLAKE2b-256 checksum How to use checksums |
199293711e7228a0098fc6d45653a7a449fe5e1d4409697a38d910b32fac22d5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.3
|
Security for tfignite 0.0.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.