Skip to content

Commit

Permalink
Replace default Triton server uri
Browse files Browse the repository at this point in the history
  • Loading branch information
SthPhoenix committed Jun 16, 2021
1 parent 015a53c commit bf76f9c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/api_trt/modules/model_zoo/exec_backends/triton_backend.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ def parse_model_grpc(model_metadata, model_config):

class Arcface:

def __init__(self, rec_name = 'arcface_r100_v1', model_version='1', triton_uri='10.0.15.109:8002', **kwargs):
def __init__(self, rec_name = 'arcface_r100_v1', model_version='1', triton_uri='localhost:8001', **kwargs):
self.model_name = rec_name
self.model_version = model_version
self.url = triton_uri
Expand Down Expand Up @@ -135,7 +135,7 @@ def get_embedding(self,face_img):


class Cosface:
def __init__(self, rec_name = 'arcface_r100_v1', triton_uri='10.0.15.109:8002', model_version='1',**kwargs):
def __init__(self, rec_name = 'arcface_r100_v1', triton_uri='localhost:8001', model_version='1',**kwargs):
self.model_name = rec_name
self.model_version = model_version
self.url = triton_uri
Expand Down Expand Up @@ -196,7 +196,7 @@ def get_embedding(self, face_img):

class DetectorInfer:

def __init__(self, model = 'retinaface_r50_v1', output_order=None, triton_uri='10.0.15.109:8002', model_version='1',**kwargs):
def __init__(self, model = 'retinaface_r50_v1', output_order=None, triton_uri='localhost:8001', model_version='1',**kwargs):
self.model_name = model
self.model_version = model_version
self.url = triton_uri
Expand Down

0 comments on commit bf76f9c

Please sign in to comment.