fix: 参数对齐
All checks were successful
git commit AiDA python develop 分支构建部署 / scheduled_deploy (push) Has been skipped
All checks were successful
git commit AiDA python develop 分支构建部署 / scheduled_deploy (push) Has been skipped
(cherry picked from commit ddef6af1cf)
This commit is contained in:
@@ -23,7 +23,7 @@ class ClothingSeg:
|
||||
def __init__(self, request_data):
|
||||
self.image_data = request_data.image_data
|
||||
self.user_id = request_data.user_id
|
||||
self.triton_client = grpcclient.InferenceServerClient(url="10.1.1.243:10071")
|
||||
self.triton_client = grpcclient.InferenceServerClient(url=f"{settings.B_4_X_4090_SERVICE_HOST}:10071")
|
||||
|
||||
@RunTime
|
||||
def get_result(self):
|
||||
@@ -139,7 +139,7 @@ def get_bounding_box(mask):
|
||||
|
||||
if __name__ == "__main__":
|
||||
test_data = ClothingSegModel(
|
||||
user_id=89,
|
||||
user_id="89",
|
||||
image_data=[
|
||||
# {
|
||||
# "image_url": "test/clothing_seg/dress.jpg",
|
||||
|
||||
Reference in New Issue
Block a user