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

mkjaramillo
/
cancer2

Image Classification
Transformers
resnet
Model card Files Files and versions
xet
Community

Instructions to use mkjaramillo/cancer2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use mkjaramillo/cancer2 with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("image-classification", model="mkjaramillo/cancer2")
    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("mkjaramillo/cancer2")
    model = AutoModelForImageClassification.from_pretrained("mkjaramillo/cancer2", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
cancer2
3.74 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 5 commits
mkjaramillo's picture
mkjaramillo
Rename config .json to config.json
7c17f9c about 3 years ago
  • .gitattributes
    1.48 kB
    initial commit about 3 years ago
  • cancer_model.h5
    3.74 MB
    xet
    Upload 3 files about 3 years ago
  • config.json
    686 Bytes
    Rename config .json to config.json about 3 years ago
  • preprocessor_config.json
    233 Bytes
    Rename preprocessor_config (1).json to preprocessor_config.json about 3 years ago