question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Cannot reproduce the results in IJB

See original GitHub issue

Dear insightface: I have tried python2/python3 and mxnet-cu80/mxnet-cu90. But I cannot reproduce the results in https://github.com/deepinsight/insightface/blob/master/Evaluation/IJB/IJBC_Evaluation_MS1MV2.ipynb.

After running through the notebook, my ROC curve is somewhat strange: image image

If I directly use the downloaded results file (*.npy), rather than the file generated by myself, the ROC curve is normal. image

I also investigate the features at images level, the cluster pattern can be observed, which means that the extracted features of the starting 128 images are correct. image

When reproducing, I modify similarity_score = np.sum(feat1 * feat2, -1) to similarity_score = np.sum(feat1 * feat2, -1).flatten(). For python2, I do not change anything else; for python3, I modifies
img_input_feats = img_feats[:,0:img_feats.shape[1]/2] to img_input_feats = img_feats[:,0:img_feats.shape[1]//2].

Could you help me find out the problem? Thanks a lot!

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:3
  • Comments:8 (1 by maintainers)

github_iconTop GitHub Comments

3reactions
shiyuanyincommented, Jun 26, 2019

I have the same error ,but the different numpy version ,the out is the same ,finally, I found the reason , because dtype=str ,save error , I modify int , the out t1 t2 is correct. pairs = np.loadtxt(path, dtype=int)

def read_template_pair_list(path): pairs = np.loadtxt(path, dtype=int) t1 = pairs[:,0].astype(np.int) t2 = pairs[:,1].astype(np.int)

0reactions
Light--commented, Sep 13, 2020

i also can not reproduce the result, details: here even change numpy version…

Read more comments on GitHub >

github_iconTop Results From Across the Web

What should I do if I cannot reproduce experimental published ...
Try to replicate the experimental conditions as much as possible, try to get any "hidden" steps if there are any, and if the...
Read more >
No raw data, no science: another possible source of the ...
It is not surprising that the results cannot be reproduced if the raw data of the studies do not exist from the beginning....
Read more >
Why it's hard to reproduce results in software - Bjørn Fjukstad
Investigated if the code was available, and if they could build it. • Excluded 199 papers. • Did not find, or receive, code...
Read more >
Estimating the reproducibility of social learning research ...
Reproducibility depends sequentially on (1) data recoverability, the availability of data to attempt reproduction of analyses; (2) data ...
Read more >
introducing three principles and the Reproduction Package
We carry out efforts to reproduce computational results for seven ... If authors do not or cannot share critical data and computational ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found