From 3ab2cb75eae060a3aa6c0e2fabd94ac9a4ae8610 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=A1=9C=E8=8F=AF?= Date: Sat, 18 Feb 2023 21:50:55 +0800 Subject: [PATCH] =?UTF-8?q?=E6=89=B9=E6=AC=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server.py b/server.py index 2efe6ce..ec6deb1 100644 --- a/server.py +++ b/server.py @@ -362,7 +362,7 @@ def main_dev(opt): precision_scope = autocast if opt.precision == "autocast" or opt.bf16 else nullcontext with torch.no_grad(), precision_scope(opt.device), model.ema_scope(): #all_samples = list() - # 执行指定的任务组数 (row)(item['number']) + # 执行指定的任务批次 (row)(item['number']) for n in trange(1, desc="Sampling"): print("Sampling:", n) for prompts in tqdm(data, desc="data"):