No project description provided
Project description
Temporal Convolutional Networks (Deep-TCN) in PyTorch
This repository provides an implementation of Temporal Convolutional Networks (TCN) [1] in PyTorch, with focus on flexibility and fine-grained control over architecture parameters.
Additionally, it incorporates separable convolutions and pooling layers, contributing to the creation of more streamlined and computationally efficient networks.
Installation
Using pip:
pip install deep-tcn
To install the dependencies for examples, run
pip install deep-tcn[examples]
Alternatively, you can clone the repository and install the package using poetry:
poetry install
This time, to install the dependencies needed to run the examples, run
poetry install --all extras
Features
-
Causal Convolutions: Causal convolutions are employed, making the architecture suitable for sequential data.
-
Separable Convolutions: The implementation includes support for separable convolutions, aiming to reduce the overall number of network parameters.
-
(Channel) Pooling Layers: Channel pooling layers are integrated to further enhance the efficiency of the network by reducing dimensionality.
-
Flexible Depth Configuration: Optionally, network depth can be increased by adding nondilated convolutions after dilated convolutional layers.
-
Residual Blocks with Full Preactivation: Residual blocks are designed following the "full preactivation" design, according to [2]
-
Supported Normalization Layers:
- Group Normalization
- Weight Normalization
- Batch Normalization
Usage
Please refer to the scripts under examples/ as a starting point.
References
[1] He et al.: Identity Mappings in Deep Residual Networks. ArXiv, 2016. Link
[2] Lea et al.: Temporal Convolutional Networks: A Unified Approach to Action Segmentation. ArXiv, 2016. Link
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file deep_tcn-0.1.0.tar.gz.
File metadata
- Download URL: deep_tcn-0.1.0.tar.gz
- Upload date:
- Size: 6.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.0.dev0 CPython/3.8.18 Linux/4.15.0-213-generic
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
84019fc2f6e6e8bb687b2aac3286020832219ee76da8f31cb01c98e4d56ba299
|
|
| MD5 |
29ca10f9f5863cdf8a251fe799db93de
|
|
| BLAKE2b-256 |
765b98a5094423d0c224c90f2f7e11aba25736b91ad53043eda5baeaf0cd586d
|
File details
Details for the file deep_tcn-0.1.0-py3-none-any.whl.
File metadata
- Download URL: deep_tcn-0.1.0-py3-none-any.whl
- Upload date:
- Size: 7.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.0.dev0 CPython/3.8.18 Linux/4.15.0-213-generic
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ce36f4fadd224fc12f26be1ffd668b3a09c8d8d77a11c57313d254111692687f
|
|
| MD5 |
2cf3c4aae7657db240ee5f364269f6aa
|
|
| BLAKE2b-256 |
6a30d23195f56c99017115bd21e4c4cbe5912eaf8f26cd8d1b897532f9ab63be
|