Reproducible Deep Learning tools and examples
Project description
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/
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file dtoolai-0.2.0.tar.gz
.
File metadata
- Download URL: dtoolai-0.2.0.tar.gz
- Upload date:
- Size: 10.9 kB
- Tags: Source
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | eb66acdee560d18242cbdfcc5aa9d078021c84bb13677fb1574c2ad06e71b3ac |
|
MD5 | 9313d9e6cf645674ae7b6875d6fe0160 |
|
BLAKE2b-256 | 8e7413edb4ed77dc35b73568f5bd5954484b57eb02605835b72b531813f21f00 |