transformers library in python doesnt seem to support DFine

#1
by fdarvas - opened

Python 3.10.12 (main, Sep 11 2024, 15:47:36) [GCC 11.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.

from transformers import DFineForObjectDetection, AutoImageProcessor

ImportError: cannot import name 'DFineForObjectDetection' from 'transformers' (/usr/local/lib/python3.10/dist-packages/transformers/init.py)

installed transformers library is 4.51.1 , which seems to be the latest

University of Science and Technology of Ch org

Hi, yes, it is not finished yet and waiting for final approval and merge https://github.com/huggingface/transformers/pull/36261

Your need to confirm your account before you can post a new comment.

Sign up or log in to comment