1aurent / resnet34.tiatoolbox-pcam

huggingface.co
Total runs: 13
24-hour runs: 0
7-day runs: 1
30-day runs: -8
Model's Last Updated: November 07 2023
image-classification

Introduction of resnet34.tiatoolbox-pcam

Model Details of resnet34.tiatoolbox-pcam

Model card for resnet34.tiatoolbox-pcam

A ResNet34 image classification model.
Trained by Tissue Image Analytics (TIA) Centre on "pcam" histology patches.

Model Details
Model Usage
Image Classification
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/resnet34.tiatoolbox-pcam",
  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)

data = transforms(img).unsqueeze(0) # input is a (batch_size, num_channels, img_size, img_size) shaped tensor
output = model(data)  # output is a (batch_size, num_features) shaped tensor
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/resnet34.tiatoolbox-pcam",
  pretrained=True,
  num_classes=0,
).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)

data = transforms(img).unsqueeze(0) # input is a (batch_size, num_channels, img_size, img_size) shaped tensor
output = model(data)  # output is a (batch_size, num_features) shaped tensor
Citation
@article{Pocock2022,
  author    = {Pocock, Johnathan and Graham, Simon and Vu, Quoc Dang and Jahanifar, Mostafa and Deshpande, Srijay and Hadjigeorghiou, Giorgos and Shephard, Adam and Bashir, Raja Muhammad Saad and Bilal, Mohsin and Lu, Wenqi and Epstein, David and Minhas, Fayyaz and Rajpoot, Nasir M and Raza, Shan E Ahmed},
  doi       = {10.1038/s43856-022-00186-5},
  issn      = {2730-664X},
  journal   = {Communications Medicine},
  month     = {sep},
  number    = {1},
  pages     = {120},
  publisher = {Springer US},
  title     = {{TIAToolbox as an end-to-end library for advanced tissue image analytics}},
  url       = {https://www.nature.com/articles/s43856-022-00186-5},
  volume    = {2},
  year      = {2022}
}

Runs of 1aurent resnet34.tiatoolbox-pcam on huggingface.co

13
Total runs
0
24-hour runs
0
3-day runs
1
7-day runs
-8
30-day runs

More Information About resnet34.tiatoolbox-pcam huggingface.co Model

More resnet34.tiatoolbox-pcam license Visit here:

https://choosealicense.com/licenses/cc0-1.0

resnet34.tiatoolbox-pcam huggingface.co

resnet34.tiatoolbox-pcam huggingface.co is an AI model on huggingface.co that provides resnet34.tiatoolbox-pcam's model effect (), which can be used instantly with this 1aurent resnet34.tiatoolbox-pcam model. huggingface.co supports a free trial of the resnet34.tiatoolbox-pcam model, and also provides paid use of the resnet34.tiatoolbox-pcam. Support call resnet34.tiatoolbox-pcam model through api, including Node.js, Python, http.

resnet34.tiatoolbox-pcam huggingface.co Url

https://huggingface.co/1aurent/resnet34.tiatoolbox-pcam

1aurent resnet34.tiatoolbox-pcam online free

resnet34.tiatoolbox-pcam huggingface.co is an online trial and call api platform, which integrates resnet34.tiatoolbox-pcam's modeling effects, including api services, and provides a free online trial of resnet34.tiatoolbox-pcam, you can try resnet34.tiatoolbox-pcam online for free by clicking the link below.

1aurent resnet34.tiatoolbox-pcam online free url in huggingface.co:

https://huggingface.co/1aurent/resnet34.tiatoolbox-pcam

resnet34.tiatoolbox-pcam install

resnet34.tiatoolbox-pcam is an open source model from GitHub that offers a free installation service, and any user can find resnet34.tiatoolbox-pcam on GitHub to install. At the same time, huggingface.co provides the effect of resnet34.tiatoolbox-pcam install, users can directly use resnet34.tiatoolbox-pcam installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

resnet34.tiatoolbox-pcam install url in huggingface.co:

https://huggingface.co/1aurent/resnet34.tiatoolbox-pcam

Url of resnet34.tiatoolbox-pcam

resnet34.tiatoolbox-pcam huggingface.co Url

Provider of resnet34.tiatoolbox-pcam huggingface.co

1aurent
ORGANIZATIONS

Other API from 1aurent

huggingface.co

Total runs: 314
Run Growth: -285
Growth Rate: -90.76%
Updated:May 14 2024
huggingface.co

Total runs: 30
Run Growth: 22
Growth Rate: 73.33%
Updated:December 22 2022
huggingface.co

Total runs: 11
Run Growth: -1
Growth Rate: -9.09%
Updated:September 29 2024
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:July 10 2023