Skip to content

Commit 7f0f010

Browse files
Michael Norrisketor
Michael Norris
authored andcommitted
Set verbosoe before train (facebookresearch#3619)
Summary: Pull Request resolved: facebookresearch#3619 Resolves issue facebookresearch#3293 This just means that we wouldn't get verbose prints in train() before, and after we do. Reviewed By: junjieqi Differential Revision: D59474995 fbshipit-source-id: 72537643b661c553353e5f701cfcaf76d21f40d2
1 parent 4001ad2 commit 7f0f010

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

faiss/IndexIVF.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,8 @@ void Level1Quantizer::train_q1(
6666
} else if (quantizer_trains_alone == 1) {
6767
if (verbose)
6868
printf("IVF quantizer trains alone...\n");
69-
quantizer->train(n, x);
7069
quantizer->verbose = verbose;
70+
quantizer->train(n, x);
7171
FAISS_THROW_IF_NOT_MSG(
7272
quantizer->ntotal == nlist,
7373
"nlist not consistent with quantizer size");

0 commit comments

Comments
 (0)