edit: 기본모델타입 b32로 변경
This commit is contained in:
@@ -611,7 +611,7 @@ class VectorImageSearchVitReq(BaseModel):
|
||||
### [Request] vector image search vit
|
||||
"""
|
||||
prompt : str = Field(description='프롬프트', example='검은색 안경')
|
||||
modelType : str = Field(VitModelType.l14, description='pretrained model 타입', example=VitModelType.l14)
|
||||
modelType : str = Field(VitModelType.b32, description='pretrained model 타입', example=VitModelType.b32)
|
||||
indexType : str = Field(VitIndexType.l2, description='인덱스 타입', example=VitIndexType.l2)
|
||||
searchNum : int = Field(4, description='검색결과 이미지 갯수', example=4)
|
||||
|
||||
@@ -621,7 +621,7 @@ class VectorImageSearchVitInputImgReq(BaseModel):
|
||||
### [Request] vector image search vit - input image
|
||||
"""
|
||||
inputImage : str = Field(description='base64 이미지', example='')
|
||||
modelType : str = Field(VitModelType.l14, description='pretrained model 타입', example=VitModelType.l14)
|
||||
modelType : str = Field(VitModelType.b32, description='pretrained model 타입', example=VitModelType.b32)
|
||||
indexType : str = Field(VitIndexType.l2, description='인덱스 타입', example=VitIndexType.l2)
|
||||
searchNum : int = Field(4, description='검색결과 이미지 갯수', example=4)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user