How to use aholk/LN_segmentation with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-segmentation", model="aholk/LN_segmentation")
# Load model directly from transformers import UNetForSegmentation model = UNetForSegmentation.from_pretrained("aholk/LN_segmentation", dtype="auto")