Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ryogrid authored Nov 15, 2024
1 parent 5699207 commit ae00c9c
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,15 @@
- 3 $ python genmodel.py --update
- Thats's all!

## Use Character Image Feture Based Reranking Mode (Optional)
- Reranking based on similarity calculation with [Quantized CCIP(Contrastive Anime Character Image Pre-Training) model](https://huggingface.co/deepghs/ccip_onnx)
- Additional index data preparation is needed
- $ python gen_cfeatures.py --dir "IMAGE FILES CONTAINED DIR PATH"
- PyPi modules on [requirements_features.txt](./requirements_features.txt) are needed insted of modules described on [requirements.txt](./requirements.txt)...
- You should use venv (virtualenv) to use isolated python environment and 'onnx-runtime-gpu' module may be crash at your machine...
- If 'onnx-runtime-gpu' module is not worked, please uninstall it and install normal 'onnx-runtime' ...
- Best of luck!

## Usage (Binary Package of Windows at Release Page)
- Same with above except that you need not to execute python and execution path (current path) is little bit different :)
- First, unzip package and launch command prompt or PowerShell :)
Expand Down

0 comments on commit ae00c9c

Please sign in to comment.