1
0
mirror of synced 2024-11-14 18:57:39 +01:00

Format code (#307)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
github-actions[bot] 2023-05-18 18:54:41 +08:00 committed by GitHub
parent c2039b6eca
commit 0fbfa1d62b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -801,7 +801,8 @@ def train_index(exp_dir1, version19):
index.add(big_npy[i : i + batch_size_add])
faiss.write_index(
index,
"%s/added_IVF%s_Flat_nprobe_%s_%s.index" % (exp_dir, n_ivf, index_ivf.nprobe, version19),
"%s/added_IVF%s_Flat_nprobe_%s_%s.index"
% (exp_dir, n_ivf, index_ivf.nprobe, version19),
)
infos.append(
"成功构建索引added_IVF%s_Flat_nprobe_%s_%s.index"