mirror of
https://github.com/huggingface/transformers.git
synced 2025-07-04 13:20:12 +06:00

* first try * Fix and set examples * style * fix * Update modular_test_detr.py * Update image_processing_new_imgproc_model.py * Update modular_model_converter.py
8 lines
341 B
Python
8 lines
341 B
Python
from transformers.models.deformable_detr.modeling_deformable_detr import DeformableDetrModel
|
|
|
|
|
|
# Here, the old and new model have by essence a common "detr" suffix. Make sure everything is correctly named
|
|
# in this case (i.e., we do not wrongly detect `Detr` as part of a suffix to remove)
|
|
class TestDetrModel(DeformableDetrModel):
|
|
pass
|