Language:
🇺🇸
🇨🇳
«sis» provides a simple image search engine based on Pytorch/Flask/Docker
This warehouse is developed based on matsui528/sis, provides image retrieval function based on pytorch, and provides more stable functions combined with flask+docker.
pip install -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple
- First, you should put gallery images to
./static/img
- Then, extract features using
offline.py
python offline.py
- Finally, launch flask app like this:
gunicorn server:app -c gunicorn.conf.py
- First, build an image
docker build -t sis:0.1.0 .
- Second, run it
bash bash_docker.sh
Anyone's participation is welcome! Open an issue or submit PRs.
Small note:
- Git submission specifications should be complied with Conventional Commits
- If versioned, please conform to the Semantic Versioning 2.0.0 specification
- If editing the README, please conform to the standard-readme specification.
Apache License 2.0 © 2022 zjykzj