Skip to content

Commit

Permalink
fixed warning
Browse files Browse the repository at this point in the history
Signed-off-by: Matteo Omenetti <[email protected]>
  • Loading branch information
Matteo-Omenetti committed Feb 3, 2025
1 parent d13cb50 commit e53c4c5
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,7 @@ def __call__(self, image):
return image


AutoImageProcessor.register(SamOptImageProcessor, SamOptImageProcessor)
AutoImageProcessor.register(
config_class="SamOptImageProcessor",
slow_image_processor_class=SamOptImageProcessor,
)

0 comments on commit e53c4c5

Please sign in to comment.