Unable to use pipeline

#5
by prajwalJumde - opened

Use a pipeline as a high-level helper

from transformers import pipeline

pipe = pipeline("image-text-to-text", model="microsoft/udop-large")

If I use this code I am getting an error -
KeyError: "Unknown task image-text-to-text, available tasks are

I am using altest transformers version (4.39.0.dev0)

Yes UDOP is not supported by the "image-to-text" pipeline. There will be a new "image-text-to-text" pipeline which supports UDOP, see https://github.com/huggingface/transformers/pull/29572

Sign up or log in to comment