Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wr是什么,论文中没有给出来? #2

Open
niupihan opened this issue May 28, 2019 · 15 comments
Open

wr是什么,论文中没有给出来? #2

niupihan opened this issue May 28, 2019 · 15 comments

Comments

@niupihan
Copy link

No description provided.

@Daikenan
Copy link
Owner

wr是reference spatial regularization weights,论文4.2 model update里是有说明的,初始化是负高斯,用线性加权w的方式进行更新,程序里最后lr是1,即上一帧的w。

@niupihan
Copy link
Author

那么P转置乘P等于P这个等式和BACF中不一致,并不会有这样的结果啊?除非P等于单位矩阵

@Daikenan
Copy link
Owner

Daikenan commented Jun 19, 2019

P是一个diagonal binary matrix,维度是T*T,T是feature map一个channel里的pixel个数,例如feature map是50*50*256,T=50*50=2500,P就是一个2500*2500的diagonal binary matrix,是满足(P^T)P=P的。

@niupihan
Copy link
Author

谢谢

@BeBuBu
Copy link

BeBuBu commented Jul 18, 2019

请问代码什么时候能分享出来啊

@niupihan
Copy link
Author

请问ADMM_base里面对h的求解分母怎么少了w呢

@Daikenan
Copy link
Owner

adaptive spatial regularization 只在定位的时候用。

@Shiyong2019
Copy link

in ADMM_solve_w(params,use_sz,model_w,h_f)
.....
w = bsxfun(@RDivide,(q-m),(1+(params.admm_lambda1/mu)*Hh));

is the same as equation (13) ????

@Daikenan
Copy link
Owner

w has different types of solution, the paper gives the analytical solution of the w sub-problem, the code is to use ADMM solution, this is because we found that using ADMM will get better results during the experiment, we also explained in the paper --"In practice, we utilize an additional ADMM solver to obtain the weight w∗ for better convergence".

@Daikenan
Copy link
Owner

If you want to understand the ADMM solution of w, you can refer to the following:
image
image
image

@Lee-AI-sco
Copy link

@Daikenan ,Can you tell me which paper the "ADMM for sloving w" is from?Thank you.

@Daikenan
Copy link
Owner

Daikenan commented Aug 25, 2019

This part of the solution is written by me and corresponds with code.

@Lee-AI-sco
Copy link

@Daikenan Hello,I have read the code,I have some questions,why do you execute the ADMM algorithm when the frame is even number,why not uses ADMM algorithm for each frame.I remember that the paper ECO_HC adopts the similar step,I wonder why you do this.Thank you.

@Daikenan
Copy link
Owner

@Daikenan Hello,I have read the code,I have some questions,why do you execute the ADMM algorithm when the frame is even number,why not uses ADMM algorithm for each frame.I remember that the paper ECO_HC adopts the similar step,I wonder why you do this.Thank you.

It has two effects, one is to improve the speed, making sure to achieve real time speed. The other is to reduce over-fitting.

@Lee-AI-sco
Copy link

@Daikenan Thanks for your reply.First question: according to the code,the variables of model_w,g_hcf,g_f would not update when the frame is odd number.
Second question: Have you ever tested that it works best when the number of frames is even number,for example,Have you ever done that it works when the variable "update_interval" equals 3 or 4?if you did it,Can you tell me what the result is?Thanks a lot.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants