From 8049122576be8ace6bf369451c934a57b065c29a Mon Sep 17 00:00:00 2001 From: amyeroberts <22614925+amyeroberts@users.noreply.github.com> Date: Wed, 20 Mar 2024 15:41:03 +0000 Subject: [PATCH] SuperPointModel -> SuperPointForKeypointDetection (#29757) --- docs/source/en/model_doc/auto.md | 4 ++++ docs/source/en/model_doc/superpoint.md | 8 +++---- src/transformers/__init__.py | 8 +++++-- src/transformers/models/auto/__init__.py | 4 +++- src/transformers/models/auto/modeling_auto.py | 17 ++++++++++++- .../models/superpoint/__init__.py | 4 ++-- .../superpoint/configuration_superpoint.py | 6 ++--- .../convert_superpoint_to_pytorch.py | 4 ++-- .../models/superpoint/modeling_superpoint.py | 2 +- src/transformers/utils/dummy_pt_objects.py | 12 +++++++++- .../superpoint/test_modeling_superpoint.py | 24 +++++++++---------- 11 files changed, 63 insertions(+), 30 deletions(-) diff --git a/docs/source/en/model_doc/auto.md b/docs/source/en/model_doc/auto.md index 036b8b81ca..ab42c24d83 100644 --- a/docs/source/en/model_doc/auto.md +++ b/docs/source/en/model_doc/auto.md @@ -250,6 +250,10 @@ The following auto classes are available for the following computer vision tasks [[autodoc]] AutoModelForVideoClassification +### AutoModelForKeypointDetection + +[[autodoc]] AutoModelForKeypointDetection + ### AutoModelForMaskedImageModeling [[autodoc]] AutoModelForMaskedImageModeling diff --git a/docs/source/en/model_doc/superpoint.md b/docs/source/en/model_doc/superpoint.md index b3f9f8c920..56e28622bd 100644 --- a/docs/source/en/model_doc/superpoint.md +++ b/docs/source/en/model_doc/superpoint.md @@ -1,7 +1,7 @@