CNN framework
Run CNN models for classification, regression, segmentation, VAE, contrastive learning with any data set.
Installation
First, create a dedicated conda environment using Python 3.9
conda create -n cnn_framework python=3.9
conda activate cnn_framework
To install the latest github version of this library run the following using pip
pip install git+https://github.com/15bonte/cnn_framework
or alternatively you can clone the github repository
git clone https://github.com/15bonte/cnn_framework.git
cd cnn_framework
pip install -e .
Independently install pytorch-related packages. Note that version are specified as this repository is not really maintained. Could work with later versions, though.
pip install torch==1.12.1 torchvision==0.13.1 torchmetrics==0.11.4 segmentation-models-pytorch==0.3.0
If you want to run jupyter tutorials, you also need to install ipykernel
pip install ipykernel
If you want to work with VAE, you must also install Pythae and WandB, which is not the case by default.
pip install pythae
pip install wandb
Metadata
Release files for cnn-framework 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| cnn_framework-1.0.0.tar.gz | 326.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| cnn_framework-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 417.9 kB
Release files / cnn_framework-1.0.0.tar.gz
| Download URL | cnn_framework-1.0.0.tar.gz |
|---|---|
| Size | 326.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
42768f495cab3fac9a1c244a389413dd9b39e23650b279a7e83f5690e396e0b3
|
|
BLAKE2b-256 checksum How to use checksums |
fc4e8b4323ffc6dadeaca127da422365dae5bc153c448bd16484955207886d25
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.6
|
Release files / cnn_framework-1.0.0-py3-none-any.whl
| Download URL | cnn_framework-1.0.0-py3-none-any.whl |
|---|---|
| Size | 91.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a3eeafa5ab4ec453b62d49b4906c61dd51c9877658d1a564a3fa8cc0fb222a6a
|
|
BLAKE2b-256 checksum How to use checksums |
339c413e14a73a0a625e4a03626fac4626f2cd540a0f5cbd84dacf02debef4ac
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.6
|