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
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

tiya1012
/
vit-accident-image

Image Classification
Transformers
PyTorch
TensorBoard
vit
Generated from Trainer
Model card Files Files and versions
xet
Metrics Training metrics Community
1

Instructions to use tiya1012/vit-accident-image with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use tiya1012/vit-accident-image with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("image-classification", model="tiya1012/vit-accident-image")
    pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png")
    # pip install -U transformers accelerate
    # Load model directly
    from transformers import AutoImageProcessor, AutoModelForImageClassification
    
    processor = AutoImageProcessor.from_pretrained("tiya1012/vit-accident-image")
    model = AutoModelForImageClassification.from_pretrained("tiya1012/vit-accident-image", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
vit-accident-image
343 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 24 commits
tiya1012's picture
tiya1012
Upload app.py
4cd33aa verified almost 2 years ago
  • runs
    cheers over 2 years ago
  • .gitattributes
    1.52 kB
    initial commit over 2 years ago
  • .gitignore
    13 Bytes
    Training in progress, step 100 over 2 years ago
  • README.md
    3.46 kB
    Update README.md almost 2 years ago
  • all_results.json
    412 Bytes
    cheers over 2 years ago
  • app.py
    77 Bytes
    Upload app.py almost 2 years ago
  • config.json
    615 Bytes
    Training in progress, step 100 over 2 years ago
  • eval_results.json
    224 Bytes
    cheers over 2 years ago
  • preprocessor_config.json
    325 Bytes
    Training in progress, step 100 over 2 years ago
  • pytorch_model.bin
    343 MB
    xet
    Model save over 2 years ago
  • test_results.json
    235 Bytes
    cheers over 2 years ago
  • train_results.json
    209 Bytes
    cheers over 2 years ago
  • trainer_state.json
    7.58 kB
    cheers over 2 years ago
  • training_args.bin
    4.41 kB
    xet
    Training in progress, step 100 over 2 years ago