edadaltocg / vit_base_patch16_224_in21k_ft_svhn

huggingface.co
Total runs: 29
24-hour runs: 0
7-day runs: 0
30-day runs: 3
Model's Last Updated: 2023年3月3日
image-classification

Introduction of vit_base_patch16_224_in21k_ft_svhn

Model Details of vit_base_patch16_224_in21k_ft_svhn

Model Card for Model ID

This model is a small timm/vit_base_patch16_224.orig_in21k_ft_in1k trained on svhn.

  • Test Accuracy: 0.9672326367547633
  • License: MIT
How to Get Started with the Model

Use the code below to get started with the model.

import timm
import torch
from torch import nn

model = timm.create_model("timm/vit_base_patch16_224.orig_in21k_ft_in1k",
pretrained=False)
model.head = nn.Linear(model.head.in_features, 10)
model.load_state_dict(
    torch.hub.load_state_dict_from_url(
        "https://huggingface.co/edadaltocg/vit_base_patch16_224_in21k_ft_svhn/resolve/main/pytorch_model.bin",
        map_location="cpu",
        file_name="vit_base_patch16_224_in21k_ft_svhn.pth",
    )
)
Training Data

Training data is svhn.

Training Hyperparameters
  • config : scripts/train_configs/ft_svhn.json

  • model : vit_base_patch16_224_in21k_ft_svhn

  • dataset : svhn

  • batch_size : 64

  • epochs : 10

  • validation_frequency : 1

  • seed : 1

  • criterion : CrossEntropyLoss

  • criterion_kwargs : {}

  • optimizer : SGD

  • lr : 0.01

  • optimizer_kwargs : {'momentum': 0.9, 'weight_decay': 0.0}

  • scheduler : CosineAnnealingLR

  • scheduler_kwargs : {'T_max': 10}

  • debug : False

Testing Data

Testing data is svhn.


This model card was created by Eduardo Dadalto.

Runs of edadaltocg vit_base_patch16_224_in21k_ft_svhn on huggingface.co

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

More Information About vit_base_patch16_224_in21k_ft_svhn huggingface.co Model

More vit_base_patch16_224_in21k_ft_svhn license Visit here:

https://choosealicense.com/licenses/mit

vit_base_patch16_224_in21k_ft_svhn huggingface.co

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

vit_base_patch16_224_in21k_ft_svhn huggingface.co Url

https://huggingface.co/edadaltocg/vit_base_patch16_224_in21k_ft_svhn

edadaltocg vit_base_patch16_224_in21k_ft_svhn online free

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

edadaltocg vit_base_patch16_224_in21k_ft_svhn online free url in huggingface.co:

https://huggingface.co/edadaltocg/vit_base_patch16_224_in21k_ft_svhn

vit_base_patch16_224_in21k_ft_svhn install

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

vit_base_patch16_224_in21k_ft_svhn install url in huggingface.co:

https://huggingface.co/edadaltocg/vit_base_patch16_224_in21k_ft_svhn

Url of vit_base_patch16_224_in21k_ft_svhn

vit_base_patch16_224_in21k_ft_svhn huggingface.co Url

Provider of vit_base_patch16_224_in21k_ft_svhn huggingface.co

edadaltocg
ORGANIZATIONS

Other API from edadaltocg