Skip to main content

🎉🎉 Our paper has been accepted at ECCV 2024! Stay tuned for more updates !! 🎉🎉

DenseNets Reloaded: Paradigm Shift Beyond ResNets and ViTs

Donghyun Kim1*, Byeongho Heo2, Dongyoon Han2*

1NAVER Cloud AI, 2NAVER AI Lab

Densenet Reloaded Densenet becomes RDNet

We revitalize Densely Connected Convolutional Networks (DenseNets) and reveal their untapped potential to challenge the prevalent dominance of ResNet-style architectures. Our research indicates that DenseNets were previously underestimated, primarily due to conventional design choices and training methods that underexploited their full capabilities.


tradeoff with SOTA models

Tradeoff with RDNet (ours) and SOTA models


tradeoff with mainstream models

Tradeoff with RDNet (ours) and mainstream models

Key Highlights:

  • Pilot study (§5.1) reveals concatenations' effectiveness.
  • We have meticulously upgraded various aspects of DenseNets (§3.2) through architectural tweaks and block redesigns.
  • Our revitalized DenseNets (RDNets) outperform mainstream architectures such as Swin Transformer, ConvNeXt, and DeiT-III (§4.1).

Our work aims to reignite interest in DenseNets by demonstrating their renewed relevance and superiority in the current architectural landscape. We encourage the community to explore and build upon our findings, paving the way for further innovative contributions in deep learning architectures.

We believe that various architectural designs that have been popular recently would be combined with dense connections successfully.

Easy to use

Install rdnet package with pip install rdnet !

import timm
import rdnet  # this will register the RDNet models to timm

model = timm.create_model('rdnet_large', pretrained=True)

For detailed usage, please refer to the huggingface model card.

Updates

  • (2024.07.24): Pip installable pacakge added.
  • (2024.04.19): Initial release of the repository.
  • (2024.03.28): Paper is available on arXiv.

Coming Soon

  • More ImageNet-22k Pretrained Models.
  • More ImageNet-1k fine-tuned models.
  • Cascade Mask R-CNN with RDNet.
  • Transfer Learning with RDNet (with cifar10, cifar100, stanford cars, ...).

RDNet for Image Classification

For details on object detection and instance segmentation, please refer to detection/README.md.

For details on semantic segmentation, please refer to segmentation/README.md.

Model Zoo

We provide the pretrained models for RDNet. You can download the pretrained models from the links below.

ImageNet-1K (pre-)trained models

Model IMG Size Params FLOPs Top-1 Model Card url
RDNet-T 224 22M 5.0G 82.8 model_card HFHub
RDNet-S 224 50M 8.7G 83.7 model_card HFHub
RDNet-B 224 87M 15.4G 84.4 model_card HFHub
RDNet-L 224 186M 34.7G 84.8 model_card HFHub

ImageNet-1K fine-tuned models

Model fine-tune from IMG Size Params FLOPs Top-1 Model Card url
RDNet-L (384) RDNet-L 384 186M 101.9G 85.8 model_card HFHub

Training

We provide the graphs of the training procedure. The graph is generated by the Weights & Biases service. You can check the graph by clicking the link below.

https://api.wandb.ai/links/dhkim0225/822w2zsj

For training commands, please refer to the TRAINING.md.

Acknowledgement

This repository is built using the timm, MMDetection, and MMSegmentation.

Citation

@misc{kim2024densenets,
    title={DenseNets Reloaded: Paradigm Shift Beyond ResNets and ViTs}, 
    author={Donghyun Kim and Byeongho Heo and Dongyoon Han},
    year={2024},
    eprint={2403.19588},
    archivePrefix={arXiv},
}

License

Copyright (c) 2024-present NAVER Cloud Corp.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

License for Dataset

ImageNet - ImageNet Terms of access, https://image-net.org/download

Images from ADE20K - ADE20K Terms of Use, https://groups.csail.mit.edu/vision/datasets/ADE20K/terms/

MS COCO images dataset - Creative Commons Attribution 4.0 License, https://viso.ai/computer-vision/coco-dataset/

Metadata

Release files for rdnet 0.1.2

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

Built distribution (wheel)

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

Release files / rdnet-0.1.2-py3-none-any.whl

Download URL rdnet-0.1.2-py3-none-any.whl
Size 16.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6a28fee1ae0d74305ce1f2659eae8bc0a313a2e3417654f94b100aa04c6bbdeb
BLAKE2b-256 checksum
How to use checksums
53da9f1cae74cd6bbd59d8ab921e6c8520c88385a815f6aa1a33272b459fbbd0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.11.5

Security for rdnet 0.1.2

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.

Release history Release notifications | RSS feed

This release

0.1.2 This release

1 release file No provenance

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