Not able to access Relation-DETR from huggingface

#1
by Saitama25 - opened

Traceback (most recent call last):
File "/home/ai-interns-jan25/relation-detr/Relation-DETR/train_huggingface.py", line 7, in
from transformers import DetrForObjectDetection, RelationDetrImageProcessor
ImportError: cannot import name 'RelationDetrObjectDetection' from 'transformers' (/home/ai-interns-jan25/miniconda3/envs/task2/lib/python3.10/site-packages/transformers/init.py) - getting the following error even with latest version of transformers. If you could solve this would be very thankful

Owner

Hi, Relation-DETR is still under preparation for transformers. The PR is still work in process, we will update it as soon as possible.
https://github.com/huggingface/transformers/pull/34900

Sign up or log in to comment