Skip to content

Commit 0fbfa1d

Browse files
Format code (#307)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent c2039b6 commit 0fbfa1d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

infer-web.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -801,7 +801,8 @@ def train_index(exp_dir1, version19):
801801
index.add(big_npy[i : i + batch_size_add])
802802
faiss.write_index(
803803
index,
804-
"%s/added_IVF%s_Flat_nprobe_%s_%s.index" % (exp_dir, n_ivf, index_ivf.nprobe, version19),
804+
"%s/added_IVF%s_Flat_nprobe_%s_%s.index"
805+
% (exp_dir, n_ivf, index_ivf.nprobe, version19),
805806
)
806807
infos.append(
807808
"成功构建索引,added_IVF%s_Flat_nprobe_%s_%s.index"

0 commit comments

Comments
 (0)