Skip to main content

A DenseNet implementation

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

DenseNet-armhzjz-0.1.2.tar.gz (7.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

DenseNet_armhzjz-0.1.2-py3-none-any.whl (9.5 kB view details)

Uploaded Python 3

File details

Details for the file DenseNet-armhzjz-0.1.2.tar.gz.

File metadata

  • Download URL: DenseNet-armhzjz-0.1.2.tar.gz
  • Upload date:
  • Size: 7.4 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for DenseNet-armhzjz-0.1.2.tar.gz
Algorithm Hash digest
SHA256 be6f7d68da75e1c6ac43c8765b590cbe89af782b49a47d7013dc0bf9ccc60b00
MD5 3ed7484538641317c07bd9652c03012c
BLAKE2b-256 e65268d32c64c86129e87841a49923e1b7d791d36fe826a1db45c71fdf75ae28

See more details on using hashes here.

File details

Details for the file DenseNet_armhzjz-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: DenseNet_armhzjz-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 9.5 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for DenseNet_armhzjz-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 bcb7c1ba403678c443021ef62d5f87a234239ad89689691dabdb7b5245be2d14
MD5 39d2f6544da9a430a9c8042e019f5ffc
BLAKE2b-256 3e76da3a50ac868c3dffa39c54435333f574bfdaf1b599c4f0ea0ffd0d4e45d4

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page