Skip to main content

Introduction

This repository contains the tools necessary to flexibly build an autoencoder in pytorch. In the future some more investigative tools may be added. The main goal of this toolkit is to enable quick and flexible experimentation with convolutional autoencoders of a variety of architectures.

The implementation is such that the architecture of the autoencoder can be altered by passing different arguments. Tunable aspects are:

  • number of layers
  • number of residual blocks at each layer of the autoencoder
  • functions used for downsampling and upsampling convolutions and convolutions in the residual blocks
  • number of channels at each layer of the autoencoder
  • activation function performed after each convolution
  • symmetry (or lack thereof) of the encoder-decoder architecture
  • etc

Some usefull wrappers and custom classes, such as ResidualBlock or GeneralConvolution, can be found in model_parts.py. The file models.py is where the actual autoencoder classes are. It contains one base class as well as two extension for 2d and 3d data.

Installation

The latest stable version can be obtained using pip install autoencoder.

Otherwise, you can download and use the files directly in your projects.

Usage

The ConvAE base class expects parameters that specify the overall architecture (see documentation) and one function for the downsampling layer, upsampling layer and residual block. Conv2dAE and Conv3dAE on the other hand provide an interface to easily create the aforementioned functions from parameters and create the autoencoder from there.

Release files for autoencoder 0.0.8

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for autoencoder 0.0.8
File Size Uploaded
autoencoder-0.0.8.tar.gz 9.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for autoencoder 0.0.8
File Interpreter ABI Platform
autoencoder-0.0.8-py3-none-any.whl Python 3 none any Details

Total release size: 21.1 kB

Release files / autoencoder-0.0.8.tar.gz

Download URL autoencoder-0.0.8.tar.gz
Size 9.7 kB
Tags Source
SHA-256 checksum
How to use checksums
bc1591238160fa1d35deff49ace284eb1ae0f12051b727fcc4cc2ade75c41147
BLAKE2b-256 checksum
How to use checksums
f928d11c86d7e9afbbfe4f0bc1a349272a51ec5c782ff12174a2d982e09ca494
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.1.0.post20200119 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.7.6

Release files / autoencoder-0.0.8-py3-none-any.whl

Download URL autoencoder-0.0.8-py3-none-any.whl
Size 11.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ecb644d3d18c97bf8157863e5c585f940c9bc1a0ccf96fa0cff01d6a2f608858
BLAKE2b-256 checksum
How to use checksums
4662fd4471bbb6cacfe4c20becd0c66b23c364be2074e9830641bec9e9ee68a0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.1.0.post20200119 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.7.6

Release history Release notifications | RSS feed

This release

0.0.8 This release

2 release files

0.0.7

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page