Framework for the automatic creation of CNN architectures
Project description
TorchCNNBuilder
TorchCNNBuilder is an open-source framework for the automatic creation of CNN architectures. This framework should first of all help researchers in the applicability of CNN models for a huge range of tasks, taking over most of the writing of the architecture code. This framework is distributed under the 3-Clause BSD license. All the functionality is written only using pytorch
(no third-party dependencies)
Installation
The simplest way to install framework is using pip
:
pip install torchcnnbuilder
Usage examples
The basic structure of the framework is presented below. Each subdirectory has its own example of using the appropriate available functionality. You can check <directory>_examples.ipynb
files in order to see the ways to use the proposed toolkit. In short, there is the following functionality:
- the ability to calculate the size of tensors after (transposed) convolutional layers
- preprocessing an n-dimensional time series in
TensorDataset
- automatic creation of (transposed) convolutional sequences
- automatic creation of (transposed) convolutional layers and (transposed) blocks from convolutional layers
The structure of the main part of the package:
├── examples
│ ├── builder_examples.ipynb
│ ├── preprocess_examples.ipynb
│ ├── models_examples.ipynb
│ └── tools # additional functions for the examples
└── torchcnnbuilder
├── preprocess
│ └── time_series.py
├── builder.py
└── models.py
Initially, the library was created to help predict n-dimensional time series (geodata), so there is a corresponding functionality and templates of predictive models (like ForecasterBase
)
Sources
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
Built Distribution
File details
Details for the file torchcnnbuilder-0.0.19.tar.gz
.
File metadata
- Download URL: torchcnnbuilder-0.0.19.tar.gz
- Upload date:
- Size: 12.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c6ff723b590fbdf206f8964c52fec7f85004d2a54a071049802374184731ce43 |
|
MD5 | 4c916ca7661a4090cd001a76ae778bc0 |
|
BLAKE2b-256 | 180c82364cae0e1b8b4b06a1b5750f95139c252835d5da288dabcc8a2409069a |
Provenance
File details
Details for the file torchcnnbuilder-0.0.19-py3-none-any.whl
.
File metadata
- Download URL: torchcnnbuilder-0.0.19-py3-none-any.whl
- Upload date:
- Size: 12.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 50607b2cc34ca0ddbcb7782e8b631cd13e980b718e705b4969a542ce880f9f88 |
|
MD5 | 43a3ba8a69417653bf5e153261fbf558 |
|
BLAKE2b-256 | cee0adc2d18cbade3ab39a46ac00bbeeec509eea15e674b574ffa58496f0ce7b |