dtoolAI - reproducible deep learning
dtoolAI is a library for supporting reproducible deep learning.
Quick start
If you’d like to see what dtoolAI can do without installing anything, two of the Jupyter notebooks in this repository highlighting dtoolAI functions can be run through Google Colab without any local software installation:
You’ll need a Google account to run these, and when you load the notebooks, click “Open in playground” to be able to execute code.
Installation
Dependencies
dtoolAI is dependent on the following Python packages:
pytorch
torchvision
dtoolcore
dtool-http
click
pillow
If you install dtoolAI with pip or conda as described below, these dependencies will be installed automatically. If you wish to install manually, you’ll need to install these before installing dtoolAI.
For Windows users, we recommend installing pytorch and torchvision through anaconda/conda. See the section below for details.
Through pip
dtoolAI requires Python version 3 and Pytorch.
Once Pytorch has been installed dtoolAI can be installed through pip:
pip install dtoolai
Through conda
You can also install dtoolAI through conda. To optionally create a conda environment in which to install dtoolAI:
conda create -n dtoolai
conda activate dtoolai
Then you can install with:
conda install pytorch==1.4.0 torchvision==0.5.0 -c pytorch
conda install dtoolcore dtool-http dtoolai -c dtool
To install the dtool command line utilities, you’ll need to use pip:
pip install dtool
With setup.py
You can also download this repository and install through:
python setup.py install
Documentation
Primary documentation: https://dtoolai.readthedocs.io/en/latest/
Detailed examples of API use are provided in the notebooks/ directory in this repository.
Tests
Running the tests requires pytest.
To run the faster tests in the test suite, use:
pytest tests/ -m "not slow"
The test suite also includes full end-to-end tests that create datasets, train models and evaluate them on those datasets. These are much slower, to run them use:
pytest tests/
Metadata
Release files for dtoolai 0.2.0
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 |
|---|---|---|---|---|
| dtoolai-0.2.0.tar.gz | 10.9 kB | Without provenance | Details for dtoolai-0.2.0.tar.gz |
Release files / dtoolai-0.2.0.tar.gz
| Download URL | dtoolai-0.2.0.tar.gz |
|---|---|
| Size | 10.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
eb66acdee560d18242cbdfcc5aa9d078021c84bb13677fb1574c2ad06e71b3ac
|
|
BLAKE2b-256 checksum How to use checksums |
8e7413edb4ed77dc35b73568f5bd5954484b57eb02605835b72b531813f21f00
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.2.0.post20200511 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.2
|
Security for dtoolai 0.2.0
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.