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