cosine_metric_learning
cosine_metric_learning copied to clipboard
I have got feat_query. mat and feat_test. mat. How to use them to evaluat the Market1501 model?
I have got feat_query. mat and feat_test. mat. How to use them to evaluat the Market1501 model?
you should download another evaluation code named Market1501Evaluation-master. Then use the .mat file in there.(I downloaded an Matlab code)
Can you share your Market1501Evaluation code ?I found one,it can't work.
| | Try to become like | | [email protected] | 签名由网易邮箱大师定制 On 8/5/2019 16:01,JIALIUZHOU[email protected] wrote:
you should download another evaluation code named Market1501Evaluation-master. Then use the .mat file in there.(I downloaded an Matlab code)
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.
https://codeload.github.com/HejaBVB09/Market1501Evaluation/zip/master You can try this.
发自我的iPhone
------------------ Original ------------------ From: double two [email protected] Date: Mon,Aug 5,2019 4:11 PM To: nwojke/cosine_metric_learning [email protected] Cc: JIALIUZHOU [email protected], Comment [email protected] Subject: Re: [nwojke/cosine_metric_learning] I have got feat_query. mat and feat_test. mat. How to use them to evaluat the Market1501 model? (#52)
Can you share your Market1501Evaluation code ?I found one,it can't work.
| | Try to become like | | [email protected] | 签名由网易邮箱大师定制 On 8/5/2019 16:01,JIALIUZHOU[email protected] wrote:
you should download another evaluation code named Market1501Evaluation-master. Then use the .mat file in there.(I downloaded an Matlab code)
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread. — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.
I get this error, when running the matlab file:
The internal matrix dimensions must be consistent. error sqdist (line 20) m = repmat(qmag, pn, 1) + repmat(pmag', 1, qn) - 2*p'*q;
error market_evaluation (line 86) dist = sqdist(Hist_test, Hist_query); % distance calculate with single query. Note that Euclidean distance is equivalent to cosine distance if vectors are l2-normalized
maybe you should just invert your matrix.
发自我的iPhone
------------------ Original ------------------ From: tiberium24 <[email protected]> Date: Tue,Nov 26,2019 8:18 AM To: nwojke/cosine_metric_learning <[email protected]> Cc: JIALIUZHOU <[email protected]>, Comment <[email protected]> Subject: Re: [nwojke/cosine_metric_learning] I have got feat_query. mat and feat_test. mat. How to use them to evaluat the Market1501 model? (#52)
I get this error, when running the matlab file:
The internal matrix dimensions must be consistent. error sqdist (line 20) m = repmat(qmag, pn, 1) + repmat(pmag', 1, qn) - 2*p'*q;
error market_evaluation (line 86) dist = sqdist(Hist_test, Hist_query); % distance calculate with single query. Note that Euclidean distance is equivalent to cosine distance if vectors are l2-normalized
— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.
I got the same error, tried to fix it with transposing the hist test and hist query seperately but it didnt help. My hist_query is 3368x128 and hist_test is 19732x128.
What should be the size of "dist" ?
It gives error at:
m= repmat(qmag, pn, 1) + repmat(pmag', 1, qn) - 2*p'*q;
at matrix multiplication, while p= hist_query and q = hist_test
How can I fix it? Anything helps @JIALIUZHOU @tiberium24 @gyc521zsc