Comments (4)
Could you please print the value of mAP_1, best_mAP, mAP_2
and the result of mAP_1 > best_mAP
?
from mmt.
因为我想边训练的不仅能打印mAP,也能打印rank-1,,故对此处作了更改 cmc_scores1, mAP_1 = evaluator_1_ema.evaluate(test_loader_target, dataset_target.query, dataset_target.gallery, cmc_flag=True) ,但是在之前的机器上是没有问题的。
Compute mean AP
mAP = mean_ap(distmat, query_ids, gallery_ids, query_cams, gallery_cams)
print('Mean AP: {:4.1%}'.format(mAP)) # 这个地方的mAP是对的
if (not cmc_flag):
return mAP
cmc_configs = {
'market1501': dict(separate_camera_set=False,
single_gallery_shot=False,
first_match_break=True)
}
cmc_scores = {name: cmc(distmat, query_ids, gallery_ids,
query_cams, gallery_cams, **params)
for name, params in cmc_configs.items()}
print('CMC Scores:')
for k in cmc_topk:
print(' top-{:<4}{:12.1%}'
.format(k,
cmc_scores['market1501'][k-1]))
return cmc_scores['market1501'][0], mAP # 这个地方的mAP就变成了多维向量,貌似没有作均值处理
from mmt.
Could you please print the value of
mAP_1, best_mAP, mAP_2
and the result ofmAP_1 > best_mAP
?
您好,可能由于自己迁移代码的时候有的地方没改,return 返回未接收正确的参数,我会将这个问题自己关闭。
非常感觉您能秒回,帮助解决问题,太敬业了,非常感谢!
from mmt.
Could you please print the value of
mAP_1, best_mAP, mAP_2
and the result ofmAP_1 > best_mAP
?
您可以把这个issues删除了!非常感谢您~
from mmt.
Related Issues (20)
- Low accuracy in Sysu HOT 17
- some
- question about "delete anything about model_2 and model_2_ema" HOT 2
- No module named 'mmt' HOT 2
- If the classifier C^t need to be re-set after each clustering? HOT 5
- Low accuracy in pretrained model on Market-1501 HOT 2
- AttributeError: 'ResNetIBN' object has no attribute 'module' HOT 9
- about classifier weight initial HOT 2
- an error in evaluator HOT 1
- About sampler HOT 2
- About experimental result HOT 2
- why linear classifier with random initialization (normal distribution) work so well?
- About GPUs and batch size
- A question about clustering HOT 4
- A question about precision
- Question about test feature
- the link of ImageNet pre-trained model failure
- 请问是否可以公布weights文件,想基于本工作在模型推理加速方面进行探索
- GPU number
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mmt.