提交 fec841ad 编写于 作者: M MRXLT

fix pr

上级 759b68ea
...@@ -82,8 +82,6 @@ def test(): ...@@ -82,8 +82,6 @@ def test():
with open('./data/00000000.jpg', 'rb') as f: with open('./data/00000000.jpg', 'rb') as f:
image = f.read() image = f.read()
bc = FaceService() bc = FaceService()
for i in image:
print("%x" % i)
bc.connect('127.0.0.1:8010') bc.connect('127.0.0.1:8010')
result = bc.encode([image]) result = bc.encode([image])
print(result[0]) print(result[0])
......
...@@ -186,5 +186,4 @@ class PLSCServer(): ...@@ -186,5 +186,4 @@ class PLSCServer():
os.remove(tar_name) os.remove(tar_name)
self.model_path_str = r'model_data_path: "./data/model/paddle/fluid/' + model_name + r'"' self.model_path_str = r'model_data_path: "./data/model/paddle/fluid/' + model_name + r'"'
os.chdir(self.get_path()) os.chdir(self.get_path())
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册