higgsboson25 commited on
Commit
5fba781
·
verified ·
1 Parent(s): 3caa003

Model page: one-command folder embedding

Browse files
Files changed (1) hide show
  1. README.md +1 -0
README.md CHANGED
@@ -46,6 +46,7 @@ git clone https://github.com/nithinj25/zesis-contrastive-learning.git && cd zesi
46
  pip install -r requirements.txt
47
  huggingface-cli download higgsboson25/trace-retinal-encoder --local-dir . # puts checkpoints/ and artifacts/ in place
48
  python -m demo.app # demo on http://127.0.0.1:7860
 
49
  ```
50
 
51
  ```python
 
46
  pip install -r requirements.txt
47
  huggingface-cli download higgsboson25/trace-retinal-encoder --local-dir . # puts checkpoints/ and artifacts/ in place
48
  python -m demo.app # demo on http://127.0.0.1:7860
49
+ python -m encoder.embed --images <folder> --out features.npy # (N, 2048) features of a folder of photos
50
  ```
51
 
52
  ```python