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

  • Log In
  • Sign Up

Wi11Chan
/
custom-myvit4seg

Feature Extraction
Transformers
PyTorch
vit
custom_code
Model card Files Files and versions
xet
Community

Instructions to use Wi11Chan/custom-myvit4seg with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use Wi11Chan/custom-myvit4seg with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("feature-extraction", model="Wi11Chan/custom-myvit4seg", trust_remote_code=True)
    # Load model directly
    from transformers import AutoImageProcessor, AutoModelForSemanticSegmentation
    
    processor = AutoImageProcessor.from_pretrained("Wi11Chan/custom-myvit4seg", trust_remote_code=True)
    model = AutoModelForSemanticSegmentation.from_pretrained("Wi11Chan/custom-myvit4seg", trust_remote_code=True)
  • Notebooks
  • Google Colab
  • Kaggle
custom-myvit4seg
345 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 10 commits
Wi11Chan's picture
Wi11Chan
Update configuration_vit.py
5c1b22a almost 3 years ago
  • .gitattributes
    1.52 kB
    initial commit almost 3 years ago
  • config.json
    69.9 kB
    Upload ViTForSemanticSegmentation almost 3 years ago
  • configuration_vit.py
    5.97 kB
    Update configuration_vit.py almost 3 years ago
  • feature_extraction_vit.py
    1.17 kB
    Upload 3 files almost 3 years ago
  • image_processing_vit.py
    13.3 kB
    Upload 3 files almost 3 years ago
  • modeling_vit.py
    40.8 kB
    Update modeling_vit.py almost 3 years ago
  • preprocessor_config.json
    296 Bytes
    Upload 3 files almost 3 years ago
  • pytorch_model.bin

    Detected Pickle imports (3)

    • "torch._utils._rebuild_tensor_v2",
    • "collections.OrderedDict",
    • "torch.FloatStorage"

    What is a pickle import?

    345 MB
    xet
    Upload ViTForSemanticSegmentation almost 3 years ago