Home

Awesome

<div align="center"> <h3> ๐ŸŽ‰๐ŸŽ‰ Our paper has been accepted at ECCV 2024! Stay tuned for more updates !! ๐ŸŽ‰๐ŸŽ‰ </h3> <h2><a href="https://arxiv.org/abs/2403.19588">DenseNets Reloaded: Paradigm Shift Beyond ResNets and ViTs</a></h2>

Donghyun Kim<sup>1*</sup>, Byeongho Heo<sup>2</sup>, Dongyoon Han<sup>2*</sup>

<sup>1</sup><a href="https://www.ncloud.com/">NAVER Cloud AI</a>, <sup>2</sup><a href="https://naver-career.gitbook.io/en/teams/clova-cic/ai-lab">NAVER AI Lab</a>

</div> <p align="center"> <a href="https://arxiv.org/abs/2403.19588" alt="arXiv"> <img src="https://img.shields.io/badge/arXiv-2403.19588-4C35F5.svg?style=flat" /></a> <a href="https://github.com/naver-ai/rdnet/blob/main/LICENSE" alt="license"> <img src="https://img.shields.io/badge/license-Apache--2.0-%23B7A800" /></a> <a href="https://huggingface.co/naver-ai" alt="Huggingface"> <img src="https://img.shields.io/badge/huggingface-NAVERAILab-F58336" /></a> </p> <p align="center"> <img src="./resources/images/rdnet_reloaded.gif" alt="Densenet Reloaded" width="46.5%" height="100%"> <img src="./resources/images/densenet_becomes_rdnet.gif" alt="Densenet becomes RDNet" width="51%" height="100%"> </p>

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.

<br>

tradeoff with SOTA models <p align="center">Tradeoff with RDNet (ours) and SOTA models</p>

<br>

tradeoff with mainstream models <p align="center">Tradeoff with RDNet (ours) and mainstream models</p>

Key Highlights:

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

RDNet is available on timm. You can easily use RDNet by installing the timm package.

import timm

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

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

Updates

Coming Soon

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

ModelIMG SizeParamsFLOPsTop-1Model Cardurl
RDNet-T22422M5.0G82.8model_cardHFHub
RDNet-S22450M8.7G83.7model_cardHFHub
RDNet-B22487M15.4G84.4model_cardHFHub
RDNet-L224186M34.7G84.8model_cardHFHub

ImageNet-1K fine-tuned models

Modelfine-tune fromIMG SizeParamsFLOPsTop-1Model Cardurl
RDNet-L (384)RDNet-L384186M101.9G85.8model_cardHFHub

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/