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

jayanta
/
microsoft-resnet-50-cartoon-emotion-detection

Image Classification
Transformers
PyTorch
TensorBoard
resnet
Generated from Trainer
Eval Results (legacy)
Model card Files Files and versions
xet
Metrics Training metrics Community
15

Instructions to use jayanta/microsoft-resnet-50-cartoon-emotion-detection with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use jayanta/microsoft-resnet-50-cartoon-emotion-detection with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("image-classification", model="jayanta/microsoft-resnet-50-cartoon-emotion-detection")
    pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png")
    # Load model directly
    from transformers import AutoImageProcessor, AutoModelForImageClassification
    
    processor = AutoImageProcessor.from_pretrained("jayanta/microsoft-resnet-50-cartoon-emotion-detection")
    model = AutoModelForImageClassification.from_pretrained("jayanta/microsoft-resnet-50-cartoon-emotion-detection", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
microsoft-resnet-50-cartoon-emotion-detection
94.6 MB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 67 commits
jayanta's picture
jayanta
Training in progress, epoch 78
02e12d4 about 3 years ago
  • runs
    Training in progress, epoch 78 about 3 years ago
  • .gitattributes
    1.48 kB
    initial commit over 3 years ago
  • .gitignore
    13 Bytes
    Training in progress, epoch 1 over 3 years ago
  • README.md
    9.44 kB
    update model card README.md over 3 years ago
  • all_results.json
    212 Bytes
    End of training over 3 years ago
  • config.json
    682 Bytes
    Training in progress, epoch 0 about 3 years ago
  • preprocessor_config.json
    266 Bytes
    Training in progress, epoch 0 about 3 years ago
  • pytorch_model.bin

    Detected Pickle imports (4)

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

    What is a pickle import?

    94.4 MB
    xet
    Training in progress, epoch 78 about 3 years ago
  • train_results.json
    212 Bytes
    End of training over 3 years ago
  • trainer_state.json
    37.4 kB
    End of training over 3 years ago
  • training_args.bin

    Detected Pickle imports (6)

    • "transformers.trainer_utils.SchedulerType",
    • "transformers.trainer_utils.HubStrategy",
    • "transformers.trainer_utils.IntervalStrategy",
    • "transformers.training_args.OptimizerNames",
    • "torch.device",
    • "transformers.training_args.TrainingArguments"

    How to fix it?

    3.45 kB
    xet
    Training in progress, epoch 0 about 3 years ago