GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets
  • Docs
  • Enterprise
  • Pricing
  • Tasks
  • HuggingChat
  • Collections
  • Languages
  • Organizations
  • Blog

This view

  • Original page
  • New address

GeezerVison is showing huggingface.co — 1aurent/resnet50.lunit_mocov2 · Hugging Face

Model card for resnet50.lunit_mocov2

A ResNet50 image classification model.
Trained on 33M histology patches from various pathology datasets.

Model Details

  • Model Type: Feature backbone
  • SSL Method: MoCo v2
  • Model Stats:
    • Params (M): 23.6
    • Image sizes (max): 1024 × 768 x 3
  • Papers:
    • Benchmarking Self-Supervised Learning on Diverse Pathology Datasets: https://arxiv.org/abs/2212.04690
  • Datasets:
    • BACH
    • CRC
    • MHIST
    • PatchCamelyon
    • CoNSeP
  • Original: https://github.com/lunit-io/benchmark-ssl-pathology
  • License: lunit-non-commercial

Model Usage

Image Embeddings

from urllib.request import urlopen
from PIL import Image
import timm

# get example histology image
img = Image.open(
  urlopen(
    "https://github.com/owkin/HistoSSLscaling/raw/main/assets/example.tif"
  )
)

# load model from the hub
model = timm.create_model(
  model_name="hf-hub:1aurent/resnet50.lunit_mocov2",
  pretrained=True,
).eval()

# get model specific transforms (normalization, resize)
data_config = timm.data.resolve_model_data_config(model)
transforms = timm.data.create_transform(**data_config, is_training=False)

output = model(transforms(img).unsqueeze(0))  # output is (batch_size, num_features) shaped tensor

Citation

@inproceedings{kang2022benchmarking,
  author    = {Kang, Mingu and Song, Heon and Park, Seonwook and Yoo, Donggeun and Pereira, Sérgio},
  title     = {Benchmarking Self-Supervised Learning on Diverse Pathology Datasets},
  booktitle = {Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR)},
  month     = {June},
  year      = {2023},
  pages     = {3344-3354}
}
Downloads last month
289
Safetensors
Model size
23.6M params
Tensor type
F32
·
Inference Providers NEW
Image Classification
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Datasets used to train 1aurent/resnet50.lunit_mocov2

Collection including 1aurent/resnet50.lunit_mocov2

Benchmarking Self-Supervised Learning on Diverse Pathology Datasets, https://github.com/lunit-io/benchmark-ssl-pathology • 6 items • Updated 3 days ago • 1

Paper for 1aurent/resnet50.lunit_mocov2

Paper • 2212.04690 • Published Dec 9, 2022 • 1
You are visitor 01402809 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.