Skip to content

Commit c3d1d45

Browse files
author
dbickson
committed
fixing unclear doc
1 parent 20070c2 commit c3d1d45

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

RUN.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,7 @@ For larger dataset it may be wise to split the run into two, to make sure interm
293293
- `run_mode=1` computes the extracted features and stores them, does not compute the NN embedding. For large datasets,
294294
it is possible to run on a few computing nodes, to extract the features, in parallel. Use the `min_offset` and `max_offset` flags to allocate a subset of the images for each computing node. Offsets start from 0 to `n-1` where `n` is the number of images in the input_dir folder.
295295
- `run_mode=2` reads a stored feature file and computes the NN embedding to provide similarities. The `input_dir` param is ignored, and the `work_dir` is used to point to the numpy feature file. (Give a full path and filename).
296-
- `run_mode=3` Reads the NN model stored by `faiss.index` from the `work_dir` and computes all pairs similarity on all inages give by the `input_dir` parameter. This mode is used for scoring similarities on a new test dataset given a precomputed simiarity index on a train dataset.
296+
- `run_mode=3` Reads the NN model stored by `faiss.index` from the `work_dir` and computes all pairs similarity on all inages give by the `test_dir` parameter. `input_dir` should point to the location of the train data. This mode is used for scoring similarities on a new test dataset given a precomputed simiarity index on a train dataset.
297297
- `run_mode=4` reads the NN model stored by `faiss.index` from the `work_dir` and computes all pairs similarity on pre extracted feature vectors computer by `run_mode=1`.
298298

299299
## Advanced topics: vector search <a name="external"/>

0 commit comments

Comments
 (0)