Laparoscopic Cholecystectomy
Collection
Datasets and models related to laparoscopic cholecystectomy, a minimally invasive gallbladder removal procedure. • 5 items • Updated
How to use BrachioLab/cholecystectomy_organs with Transformers:
# Load model directly
from transformers import AutoModel
model = AutoModel.from_pretrained("BrachioLab/cholecystectomy_organs", dtype="auto")This model has been pushed to the Hub using the PytorchModelHubMixin integration:
import torch
from exlib.datasets.cholec import CholecDataset, CholecModel
model = CholecModel.from_pretrained("BrachioLab/cholecystectomy_organs")
dataset = CholecDataset(split="test")
dataloader = torch.utils.data.DataLoader(dataset, batch_size=4, shuffle=True)
item = next(iter(dataloader))
out = model(item["image"])
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("BrachioLab/cholecystectomy_organs", dtype="auto")