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 | Provenance | Actions |
|---|---|---|---|---|
| cnn_framework-1.0.0.tar.gz | 326.5 kB | Without provenance | Details for cnn_framework-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| cnn_framework-1.0.0-py3-none-any.whl | Python 3 | none | any | Details for cnn_framework-1.0.0-py3-none-any.whl |
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
|
Security for cnn-framework 1.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.