when the trained model is used for inference this import error comes: RuntimeError: Failed to import transformers.models.detr.modeling_detr because of the following error (look up to see its traceback): cannot import name 'experimental_functions_run_eagerly' from 'tensorflow.python.eager.def_function' (C:\Anaconda\lib\site-packages\tensorflow\python\eager\def_function.py)
Author: amit-parmarCreated Jan 17, 2024Updated Jan 17, 2024
❓ How to do something using DETR
Describe what you want to do, including:
- what inputs you will provide, if any:
- what outputs you are expecting:
NOTE:
Only general answers are provided. If you want to ask about "why X did not work", please use the Unexpected behaviors issue template.
About how to implement new models / new dataloader / new training logic, etc., check documentation first.
We do not answer general machine learning / computer vision questions that are not specific to DETR, such as how a model works, how to improve your training/make it converge, or what algorithm/methods can be used to achieve X.
Source: facebookresearch/detr