TAFNN
TAFNN is a Python based library, that helps Deep / Machine Learning specialists to track their models during training without accessing server, and getting notifications full of their desired information via beloved Social Media platforms.
PROS
- Built as lightweight as possible
- Takes 14 arguments, therefore users can check almost everything while their model is training
- Back-End is built on Flask framework, and open-sourced. You can contribute to implement more Social Media platforms' APIs.
TODO
- Finish working on Back-End for Facebook Messenger.
Used Frameworks & Libraries
FaceDNR is built totally on Python technology.
Installation
Python 3.6+ required to use.
Get the package from PyPi
$ pip install TAFNN
Usage
Import the TAFNN and reach 'teller' function. Define the TAFNN.teller function inside the training loop, and pass the arguments.
$ import TAFNN as tiffany
$ tiffany.teller(arg1, arg2)
Arguments
$iteration argument is for counting iterations. type = number.
$distribution argument is basically a divider, for every how many iterations do you need to send the GET request. type = number.
$distrmessage - your message after reaching specific number of iterations, when iterations % distribution == 0. type = string.
$maxiter is a maximum of iterations, after which the model finishes training. Make sure to send +1, as long as
python takes the 'y' from range(x , y) and finishes the loop when technically y = (y - 1). type = number.
$maxitermessage is a message you want to send after reaching maxiter size. type = string.
$epochdistribution is the same as 'distribution' argument, but for epochs. type = number.
$epoch counts epochs. type = number.
$epochmessage is sended after reaching number of epochs when epochs % epochdistribution == 0 . type = string
$testloss takes test loss as an information. type = number.
$valloss takes validation loss as an information. type = number.
$maxdelay is maximum amount of delay, after which server will automatically tell you that something might be crashed,
and you've to check the server. type = number.
$maxdelaydelta is a maximum dynamic change of maxdelay. For instance, if maxdelay = 5 (5 seconds), and maxdelaydelta = 1,
you won't be notified until the request is delayed for more than 6 seconds.
In case you're saving checkpoint for every certain number of iterations, and it takes longer time than average iteration
time, that's where you use 'maxdelaydelta' argument. type = number.
$maxdelaymessage is a message for you to receive after reaching maximum time of delay. type = string.
$profile_link is a link of your Facebook profile, that will be used by the agent to send you all the information later on.
type = string.
JSON Instance
The API sends the JSON array, that is basically stringified version of combination of dictionaries.
Implementations
The Flask server is deployed on Heroku, and implemented only in Facebook Messenger for now. Next Social Media Platforms:
TODOs
- Finish working on Back-End for Facebook Messenger.
License
BSD 3-Clause Licence
Metadata
Release files for TAFNN 1.8
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 | |
|---|---|---|---|---|
| TAFNN-1.8.tar.gz | 3.8 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| TAFNN-1.8-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.3 kB
Release files / TAFNN-1.8.tar.gz
| Download URL | TAFNN-1.8.tar.gz |
|---|---|
| Size | 3.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2cec1e7d88ec13d10f86c42cae97418b35f590a0de96764fce62e77209c2aa14
|
|
BLAKE2b-256 checksum How to use checksums |
c5675f6fa3670c397f098b1f62cd9d3e55323cdd1e7243bfed64b617a31974f3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3
|
Release files / TAFNN-1.8-py3-none-any.whl
| Download URL | TAFNN-1.8-py3-none-any.whl |
|---|---|
| Size | 4.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5dbfa11a2fb3e415925b802e29c3137247ea14c75cbc37c64ce4dcf5d5cb62eb
|
|
BLAKE2b-256 checksum How to use checksums |
d80c07d03bec7818deef6f6d5dc67fd412c90a7acdf109d4c1970c910ebeadad
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3
|
Security for TAFNN 1.8
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.