julien-c / timm-dpn92

huggingface.co
Total runs: 3
24-hour runs: 0
7-day runs: -1
30-day runs: -2
Model's Last Updated: February 18 2021
image-classification

Introduction of timm-dpn92

Model Details of timm-dpn92

dpn92 from rwightman/pytorch-image-models

From rwightman/pytorch-image-models :

""" PyTorch implementation of DualPathNetworks
Based on original MXNet implementation https://github.com/cypw/DPNs with
many ideas from another PyTorch implementation https://github.com/oyam/pytorch-DPNs.

This implementation is compatible with the pretrained weights from cypw's MXNet implementation.

Hacked together by / Copyright 2020 Ross Wightman
"""
Model description

Dual Path Networks

Intended uses & limitations

You can use the raw model to classify images along the 1,000 ImageNet labels, but you can also change its head to fine-tune it on a downstream task (another classification task with different labels, image segmentation or object detection, to name a few).

How to use

You can use this model with the usual factory method in timm :

import PIL
import timm
import torch

model = timm.create_model("julien-c/timm-dpn92")
img = PIL.Image.open(path_to_an_image)
img = img.convert("RGB")

config = model.default_cfg

if isinstance(config["input_size"], tuple):
    img_size = config["input_size"][-2:]
else:
    img_size = config["input_size"]

transform = timm.data.transforms_factory.transforms_imagenet_eval(
    img_size=img_size,
    interpolation=config["interpolation"],
    mean=config["mean"],
    std=config["std"],
)

input_tensor = transform(cat_img)
input_tensor = input_tensor.unsqueeze(0)
# ^ batch size = 1
with torch.no_grad():
    output = model(input_tensor)

probs = output.squeeze(0).softmax(dim=0)
Limitations and bias

The training images in the dataset are usually photos clearly representing one of the 1,000 labels. The model will probably not generalize well on drawings or images containing multiple objects with different labels.

The training images in the dataset come mostly from the US (45.4%) and Great Britain (7.6%). As such the model or models created by fine-tuning this model will work better on images picturing scenes from these countries (see this paper for examples).

More generally, recent research has shown that even models trained in an unsupervised fashion on ImageNet (i.e. without using the labels) will pick up racial and gender bias represented in the training images.

Training data

This model was pretrained on ImageNet , a dataset consisting of 14 millions of hand-annotated images with 1,000 categories.

Training procedure

To be completed

Preprocessing

To be completed

Evaluation results

To be completed

BibTeX entry and citation info
@misc{rw2019timm,
  author = {Ross Wightman},
  title = {PyTorch Image Models},
  year = {2019},
  publisher = {GitHub},
  journal = {GitHub repository},
  doi = {10.5281/zenodo.4414861},
  howpublished = {\url{https://github.com/rwightman/pytorch-image-models}}
}

and

@misc{chen2017dual,
      title={Dual Path Networks}, 
      author={Yunpeng Chen and Jianan Li and Huaxin Xiao and Xiaojie Jin and Shuicheng Yan and Jiashi Feng},
      year={2017},
      eprint={1707.01629},
      archivePrefix={arXiv},
      primaryClass={cs.CV}
}

Runs of julien-c timm-dpn92 on huggingface.co

3
Total runs
0
24-hour runs
0
3-day runs
-1
7-day runs
-2
30-day runs

More Information About timm-dpn92 huggingface.co Model

More timm-dpn92 license Visit here:

https://choosealicense.com/licenses/apache-2.0

timm-dpn92 huggingface.co

timm-dpn92 huggingface.co is an AI model on huggingface.co that provides timm-dpn92's model effect (), which can be used instantly with this julien-c timm-dpn92 model. huggingface.co supports a free trial of the timm-dpn92 model, and also provides paid use of the timm-dpn92. Support call timm-dpn92 model through api, including Node.js, Python, http.

julien-c timm-dpn92 online free

timm-dpn92 huggingface.co is an online trial and call api platform, which integrates timm-dpn92's modeling effects, including api services, and provides a free online trial of timm-dpn92, you can try timm-dpn92 online for free by clicking the link below.

julien-c timm-dpn92 online free url in huggingface.co:

https://huggingface.co/julien-c/timm-dpn92

timm-dpn92 install

timm-dpn92 is an open source model from GitHub that offers a free installation service, and any user can find timm-dpn92 on GitHub to install. At the same time, huggingface.co provides the effect of timm-dpn92 install, users can directly use timm-dpn92 installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

timm-dpn92 install url in huggingface.co:

https://huggingface.co/julien-c/timm-dpn92

Url of timm-dpn92

timm-dpn92 huggingface.co Url

Provider of timm-dpn92 huggingface.co

julien-c
ORGANIZATIONS

Other API from julien-c

huggingface.co

Total runs: 77
Run Growth: -78
Growth Rate: -101.30%
Updated:December 18 2023
huggingface.co

Total runs: 21
Run Growth: 7
Growth Rate: 31.82%
Updated:November 20 2020
huggingface.co

Total runs: 10
Run Growth: -11
Growth Rate: -110.00%
Updated:November 27 2020
huggingface.co

Total runs: 9
Run Growth: -17
Growth Rate: -188.89%
Updated:November 27 2020
huggingface.co

Total runs: 8
Run Growth: 4
Growth Rate: 50.00%
Updated:September 25 2025
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:September 06 2024
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:September 20 2025
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:January 27 2022
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:November 20 2020
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:December 09 2024