Skip to content

Commit 151cdcf

Browse files
author
dbickson
committed
cleaning docs
1 parent 4573bbe commit 151cdcf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

RUN.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -280,9 +280,9 @@ it is possible to run on a few computing nodes, to extract the features, in para
280280

281281
## Advanced topics: providing externally computed feature vectors <a name="external"/>
282282

283-
It is possible to compute feature vectors on your own. For running fastdup with your own feature vectors export the feature vectors into binary format using the function `fastdup.save_binary_feature(save_path, filenames, np_array)`. Where `save_path` is the folder you like to run from, filenames is a list of aboslute paths of the images of length `n`, and `np_array` is a matrix of size `n x d` where `d` is the feature vector length. Note that the np_array should be of type `'float32'`.
283+
It is possible to compute feature vectors on your own. For running fastdup with your own feature vectors export the feature vectors into binary format using the function `fastdup.save_binary_feature(save_path, filenames, np_array)`. Where `save_path` is the folder you like to run from, `filenames` is a list of aboslute paths of the images of length `n`, and `np_array` is a matrix of size `n x d` where `d` is the feature vector length. Note that the `np_array` should be of type `'float32'`.
284284

285-
Next run fastdup with run_mode=2 (which skips the image extraction phase and loads your stored features instead) and make sure to point `work_dir` to the `save_path` which is the location of your stored features. Don't forget to assign `d` to your feature length.
285+
Next run fastdup with `run_mode=2` (which skips the image extraction phase and loads your stored features instead) and make sure to point `work_dir` to the `save_path` which is the location of your stored features. Don't forget to assign `d` to your feature length.
286286

287287
Example:
288288
```python

0 commit comments

Comments
 (0)