Browse Source

fix ip bug

tags/v1.8.0
ZhidanLiu 3 years ago
parent
commit
3544095c72
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      examples/natural_robustness/serving/README.md

+ 2
- 1
examples/natural_robustness/serving/README.md View File

@@ -147,7 +147,8 @@ serving
"""invoke servable perturbation method natural_perturbation"""
# 请求的服务端ip及端口、请求的服务名、请求的方法名
client = Client("10.175.122.87:5500", "perturbation", "natural_perturbation")
ip_addr = "0.0.0.0:8800"
client = Client(ip_addr, "perturbation", "natural_perturbation")
# 输入数据
instances = []


Loading…
Cancel
Save