JDAI-CV / fast-reid

SOTA Re-identification Methods and Toolbox
Apache License 2.0
3.41k stars 835 forks source link

Image retrieval #405

Closed Zumbalamambo closed 3 years ago

Zumbalamambo commented 3 years ago

❓ How to do something using fastreid

Describe what you want to do, including:

  1. what inputs you will provide, if any: Input query image
  2. what outputs you are expecting: Matching image from the database

is it possible to use this algorithm for place recognition task? Please provide an example

L1aoXingyu commented 3 years ago

What do you mean by "recognition tasks"? Image classification?

Zumbalamambo commented 3 years ago

Place recognition by Image retrieval

L1aoXingyu commented 3 years ago

Actually, place recog. can be a retrieval task or classification task, it depends on your need.

Zumbalamambo commented 3 years ago

Since it's large scale (1000+), being able to perform retrieval might be better than classification

L1aoXingyu commented 3 years ago

You can try it. Btw, maybe you can reference google landmark competition.

Zumbalamambo commented 3 years ago

Is there any template on how I'm supposed to prepare the input dataset?

L1aoXingyu commented 3 years ago

FastRetri is an example. Actually, you only need to write the code about data loading.

https://github.com/JDAI-CV/fast-reid/blob/master/projects/FastRetri/fastretri/datasets.py

shnulailai commented 3 years ago

How to inference the project(dataset is CUB)?What is the structure of cub100-2011 when inference?

L1aoXingyu commented 3 years ago

It's the same as the training phase.

shnulailai commented 3 years ago

廖大神您好:       我已经训练好projects/FastRetri中的CUB数据集模型,在推理的过程中,出现的几个问题很困扰,如果有空的话能否帮忙看一下问题出在哪里? 1.首先,推理模块的数据集存放的方式,您看看是不是这样的? datasets/CUB_200_2011 新加了gallery文件夹和query文件夹

query文件夹存放了两张图片

gallery文件夹存放的一些图片,其中有两张与query库中的test1.jpg,test2.jpg一模一样

2.执行推理运行代码,sh run_demo.sh

一直出现以下的错误,也不知道这个query库和gallery库的数据哪里来的?

------------------ 原始邮件 ------------------ 发件人: "JDAI-CV/fast-reid" @.>; 发送时间: 2021年3月23日(星期二) 下午4:44 @.>; @.**@.>; 主题: Re: [JDAI-CV/fast-reid] Image retrieval (#405)

It's the same as the training phase.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.

L1aoXingyu commented 3 years ago

看不到错误是什么

ulanbator commented 3 years ago

廖神,为什么图片搜索模型的权重没有发布呢?

L1aoXingyu commented 3 years ago

我们暂时只发布 person/vehicle reid model weights

github-actions[bot] commented 3 years ago

This issue is stale because it has been open for 30 days with no activity.

github-actions[bot] commented 3 years ago

This issue was closed because it has been inactive for 14 days since being marked as stale.