Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

torchcnnbuilder-0.0.11.tar.gz (11.1 kB view details)

Uploaded Source

Built Distribution

torchcnnbuilder-0.0.11-py3-none-any.whl (11.1 kB view details)

Uploaded Python 3

File details

Details for the file torchcnnbuilder-0.0.11.tar.gz.

File metadata

  • Download URL: torchcnnbuilder-0.0.11.tar.gz
  • Upload date:
  • Size: 11.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.13

File hashes

Hashes for torchcnnbuilder-0.0.11.tar.gz
Algorithm Hash digest
SHA256 ba0313f377d418c888b53bb9e5cb67ac98ce6a9d7d2995e451ce65bf00022162
MD5 24ead2ba97f456aa07b284b55f338887
BLAKE2b-256 8d240e480d09d276eb4bb3fb4ef6b3fd469aeb03f5c9c67e4c96aabcb6c9309f

See more details on using hashes here.

Provenance

File details

Details for the file torchcnnbuilder-0.0.11-py3-none-any.whl.

File metadata

File hashes

Hashes for torchcnnbuilder-0.0.11-py3-none-any.whl
Algorithm Hash digest
SHA256 b5282a03f69d8ef4669522fa7dce1dbecc413aca581275cb81ba79a4a23ce4c7
MD5 6f98c7eb07c9b6afc004eb5a2d774a52
BLAKE2b-256 954ea0ad716b69b27afa159e82836f66df578acfd32d61bd5dcc82e9f5651c7c

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page