Rename SegmentAnythingModel -> SegmentAnythingPipeline.

This commit is contained in:
Ryan Dick
2024-08-01 09:57:47 -04:00
parent 63581ec980
commit b9dc3460ba
3 changed files with 6 additions and 6 deletions

View File

@ -8,7 +8,7 @@ from transformers.models.sam.processing_sam import SamProcessor
from invokeai.backend.raw_model import RawModel
class SegmentAnythingModel(RawModel):
class SegmentAnythingPipeline(RawModel):
"""A wrapper class for the transformers SAM model and processor that makes it compatible with the model manager."""
def __init__(self, sam_model: SamModel, sam_processor: SamProcessor):