Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

cominder
/
iwin-base-patch4-window7-224

Image Classification
Transformers
Safetensors
iwin
vision
iwin-transformer
custom_code
Model card Files Files and versions
xet
Community

Instructions to use cominder/iwin-base-patch4-window7-224 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use cominder/iwin-base-patch4-window7-224 with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("image-classification", model="cominder/iwin-base-patch4-window7-224", trust_remote_code=True)
    pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png")
    # pip install -U transformers accelerate
    # Load model directly
    from transformers import AutoModelForImageClassification
    model = AutoModelForImageClassification.from_pretrained("cominder/iwin-base-patch4-window7-224", trust_remote_code=True, device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
iwin-base-patch4-window7-224
730 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 3 commits
cominder's picture
cominder
Add Transformers remote code so from_pretrained(trust_remote_code=True) works
6096826 verified 17 days ago
  • .gitattributes
    1.56 kB
    Add Iwin model config, weights (pth + safetensors), and README 3 months ago
  • README.md
    1.47 kB
    Add Transformers remote code so from_pretrained(trust_remote_code=True) works 17 days ago
  • __init__.py
    177 Bytes
    Add Transformers remote code so from_pretrained(trust_remote_code=True) works 17 days ago
  • config.json
    70 kB
    Add Transformers remote code so from_pretrained(trust_remote_code=True) works 17 days ago
  • configuration_iwin.py
    2.45 kB
    Add Transformers remote code so from_pretrained(trust_remote_code=True) works 17 days ago
  • iwin_base_patch4_window7_224.pth

    Detected Pickle imports (5)

    • "torch.FloatStorage",
    • "torch._utils._rebuild_tensor_v2",
    • "__builtin__.set",
    • "yacs.config.CfgNode",
    • "collections.OrderedDict"

    How to fix it?

    365 MB
    xet
    Add Iwin model config, weights (pth + safetensors), and README 3 months ago
  • model.safetensors
    365 MB
    xet
    Add Iwin model config, weights (pth + safetensors), and README 3 months ago
  • modeling_iwin.py
    18.1 kB
    Add Transformers remote code so from_pretrained(trust_remote_code=True) works 17 days ago
  • preprocessor_config.json
    415 Bytes
    Add Transformers remote code so from_pretrained(trust_remote_code=True) works 17 days ago