convtt
Convolutional Neural Netoworks Training Tools
example of DenseNet training
The example is included in the bin folder in the package with the file name of convtt_train_densenet.py.
Here is a code snippet of creating a trainer and train the network given the model and the dataset.
# convtt_train_densenet.py
from convtt.models import densenet
from convtt.train.trainer import *
# initialise trainer
optimiser = build_optimiser(model=model, name='ScheduledSGD', milestones=[10, 20], lr=0.1)
driver = build_driver(model=model, training_epoch=30, batch_size=128, training_data=dataset.train['images'],
training_label=dataset.train['labels'],
validation_data=None, validation_label=None, test_data=dataset.test['images'],
test_label=dataset.test['labels'], optimiser=optimiser)
trainer = build_trainer(optimiser=optimiser, driver=driver)
test_acc = trainer.eval()
print(test_acc)
Metadata
Release files for convtt 0.0.2
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 |
|---|---|---|---|---|
| convtt-0.0.2.tar.gz | 27.3 kB | Without provenance | Details for convtt-0.0.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| convtt-0.0.2-py3-none-any.whl | Python 3 | none | any | Details for convtt-0.0.2-py3-none-any.whl |
Total release size: 69.5 kB
Release files / convtt-0.0.2.tar.gz
| Download URL | convtt-0.0.2.tar.gz |
|---|---|
| Size | 27.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b63ae95e85e5762eef0bf9966772afd0cce921e9a7709f819ed51f9e99b76dba
|
|
BLAKE2b-256 checksum How to use checksums |
d163bd457d1f6ba46608445c11bedc271510c6adbe22eba5a4584a69eebe1072
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.8.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.6.7
|
Release files / convtt-0.0.2-py3-none-any.whl
| Download URL | convtt-0.0.2-py3-none-any.whl |
|---|---|
| Size | 42.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b5c15be545cd9d83930459565172af5e9c60e186f4f70e24ca3869f4702251f0
|
|
BLAKE2b-256 checksum How to use checksums |
e32a7cd46a0a09c7470bf12b40706ca263e84648a05b023b5a4dc7af8e6d2703
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.8.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.6.7
|
Security for convtt 0.0.2
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.