RF-DETR fails due to reliance on removed internal transformers.utils

Hi! I am running a Roboflow model through a pipeline in Google Colab. I am encountering multiple ImportError issues when trying to run rfdetr (v1.2.1). The library appears to import several internal utilities from transformers.utils (such as torch_int and potentially others) that have been removed in recent transformers versions.

I have tried downgrading transformers (to 4.35.2 and 4.36.2), but the imports still fail.

Could you please specify the exact transformers version required for rfdetr v1.2.1, or is there a patch available to remove these dependencies on internal utilities?

It seems you are using way old version sice the latest 1.4.3 and we are about to release 1.5…
Any reason why you still may need to use that old version? Could you pls try to upgrade?

Hi thank you that worked! My collaborator wrote the initial script and I didn’t realize that it was running an old version. How can I find out when updates are released?

How can I find out when updates are released?

You can subscribe to the repo watching releases or via PyPI

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.