About this DenseNet implementation
After reading the DenseNet paper I was very surprised for it being so simple and yet so powerfull. So I decided to make my own implementation of it and give it a try.
This implementation of DenseNet was done under python version 3.6.10.
I used this Cifar-10 datase from kaggle to test the performance of my implementation. For that purpose, I trained a total of 4 DenseNet networks to the data; 2 of them were BC variants and the other to were none BC networks. The quick comparison I did on these four networks can be found in this jupyter notebook.
A test script may be found here. I used this test sctipt to ensure the implementation works also out of the context of kaggle notebooks. It downloads the Cifar-10 dataset directly from its official webpage, prepares the training, validation and test data sets, trains a DenseNet model and evaluates it using the best parameters produced during its training. The execution of this script will take a considerable amount of time depending on the GPU hardware you use, so beware of this and don't get puzzled if it seems to take forever until the script is completely executed.
Finally, a kaggle kernel is found in here in case the reader is interested in a cifar-10 evaluation (i.e. not only a rough comparison as the one provided in this repository).
Note: In order to use this module, pytorch must be install in your system.
Release files for DenseNet-armhzjz 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| DenseNet-armhzjz-0.1.2.tar.gz | 7.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| DenseNet_armhzjz-0.1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 16.9 kB
Release files / DenseNet-armhzjz-0.1.2.tar.gz
| Download URL | DenseNet-armhzjz-0.1.2.tar.gz |
|---|---|
| Size | 7.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
be6f7d68da75e1c6ac43c8765b590cbe89af782b49a47d7013dc0bf9ccc60b00
|
|
BLAKE2b-256 checksum How to use checksums |
e65268d32c64c86129e87841a49923e1b7d791d36fe826a1db45c71fdf75ae28
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/45.2.0.post20200209 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.6.10
|
Release files / DenseNet_armhzjz-0.1.2-py3-none-any.whl
| Download URL | DenseNet_armhzjz-0.1.2-py3-none-any.whl |
|---|---|
| Size | 9.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
bcb7c1ba403678c443021ef62d5f87a234239ad89689691dabdb7b5245be2d14
|
|
BLAKE2b-256 checksum How to use checksums |
3e76da3a50ac868c3dffa39c54435333f574bfdaf1b599c4f0ea0ffd0d4e45d4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/45.2.0.post20200209 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.6.10
|