Skip to content

Commit

Permalink
Remove DeformableDetrForObjectDetection from auto mapping
Browse files Browse the repository at this point in the history
  • Loading branch information
NielsRogge committed Jul 1, 2022
1 parent 1a4cd38 commit 191de2d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion src/transformers/models/auto/modeling_auto.py
Expand Up @@ -427,7 +427,6 @@
MODEL_FOR_OBJECT_DETECTION_MAPPING_NAMES = OrderedDict(
[
# Model for Object Detection mapping
("deformable_detr", "DeformableDetrForObjectDetection"),
("detr", "DetrForObjectDetection"),
("yolos", "YolosForObjectDetection"),
]
Expand Down
1 change: 1 addition & 0 deletions utils/check_repo.py
Expand Up @@ -126,6 +126,7 @@
# should **not** be the rule.
IGNORE_NON_AUTO_CONFIGURED = PRIVATE_MODELS.copy() + [
# models to ignore for model xxx mapping
"DeformableDetrForObjectDetection",
"DPTForDepthEstimation",
"DecisionTransformerGPT2Model",
"GLPNForDepthEstimation",
Expand Down

0 comments on commit 191de2d

Please sign in to comment.