本文主要是介绍milvus image retrieval,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
以图搜图
安装部署
sudo docker pull milvusdb/milvus:0.11.0-gpu-d101620-4c44c0
启动
sudo docker run --name milvus_gpu_0.11.0 \-p 19530:19530 \-p 19121:19121 \-v /home/$USER/milvus/db:/var/lib/milvus/db \-v /home/$USER/milvus/conf:/var/lib/milvus/conf \-v /home/$USER/milvus/logs:/var/lib/milvus/logs \-v /home/$USER/milvus/wal:/var/lib/milvus/wal \milvusdb/milvus:0.11.0-gpu-d101620-4c44c0
mkdir -p /home/$USER/milvus/confcd /home/$USER/milvus/confwget https://raw.githubusercontent.com/milvus-io/milvus/0.11.0/core/conf/demo/milvus.yaml
# vim /home/$USER/milvus/conf/milvus.yaml
general:timezone: UTC+8meta_uri: mysql://root:123456@47.115.0.96:3306/milvusgpu: enable: true cache_size: 1GB gpu_search_threshold: 1000 search_devices: - gpu0build_index_devices:- gpu0
安装UI界面
docker pull milvusdb/milvus-em:v0.5.0
sudo docker run -d -p 3000:80 -e API_URL=http://192.168.1.124:3000 milvusdb/milvus-em:v0.5.0
访问地址:http://192.168.1.124:3000/
启动 pic-search-webserver
源码编译
git clone https://github.com/milvus-io/bootcamp.git
cd bootcamp / solutions / pic_search / webserver
# Build image
docker build -t pic-search-webserver.
# View the generated image
docker images | grep pic-search-webserver
Or
sudo docker pull milvusbootcamp/pic-search-webserver:0.10.0
sudo docker run \
-v /data2/syh/c118_cut:/tmp/pic1 \
-p 35000:5000 -e "DATA_PATH=/tmp/images-data" \
-e "MILVUS_HOST=192.168.1.124" milvusbootcamp/pic-search-webserver:0.10.0
sudo docker run \
-v /data2/syh/c118_cut_sample:/tmp/pic1 \
-p 35000:5000 -e "DATA_PATH=/tmp/images-data" \
-e "MILVUS_HOST=192.168.1.124" milvusbootcamp/pic-search-webserver:0.10.0
启动 pic-search-webclient
源码编译
git clone https://github.com/milvus-io/bootcamp.git
cd bootcamp / solutions / pic_search / webclient
# Build image
docker build -t pic-search-webclient.
# View the generated image
docker images | grep pic-search-webclient
Or
docker pull milvusbootcamp/pic-search-webclient:0.2.0
sudo docker run --name zilliz_search_images_demo_web --rm -p 8001:80 \
-e API_URL=http://192.168.1.124:35000 \
milvusbootcamp/pic-search-webclient:0.2.0
访问地址:http://192.168.1.124:8001/
参考
Milvus source code: https://github.com/milvus-io/milvus
Milvus official website: https://milvus.io/
Milvus Bootcamp: https://github.com/milvus-io/bootcamp
Milvus Slack community: http://milvusio.slack.com/
深度学习之以图搜图
【专知荟萃15】图像检索Image Retrieval知识资料全集(入门/进阶/综述/视频/代码/专家,附PDF下载)
基于 Milvus 和 VGG 实现以图搜图
Milvus × VGG: Building a Content-based Image Retrieval System
这篇关于milvus image retrieval的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!