提交 dbfb00d0 编写于 作者: B barrierye

update use memory address instead of timestamp

上级 96fbc794
......@@ -18,7 +18,6 @@ import os
from .proto import sdk_configure_pb2 as sdk
from .proto import general_model_config_pb2 as m_config
import google.protobuf.text_format
import time
import sys
int_type = 0
......@@ -156,8 +155,7 @@ class Client(object):
)
else:
if self.predictor_sdk_ is None:
timestamp = time.time()
self.add_variant('default_tag_{}'.format(timestamp), endpoints,
self.add_variant('default_tag_{}'.format(id(self)), endpoints,
100)
else:
print(
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册