updatenet icon indicating copy to clipboard operation
updatenet copied to clipboard

train_updateNet.py,关于训练部分的问题!

Open renlicheng opened this issue 6 years ago • 2 comments
trafficstars

dataram = dict() tem0_path = '/home/lichao/projects/DaSiamRPN/code/templates' tem_path = '/home/lichao/projects/DaSiamRPN/code/templates_0_0'

dataram['template0'] = np.load(join(tem0_path,'template0.npy')) dataram['template'] = np.load(join(tem_path,'template.npy')) dataram['templatei'] = np.load(join(tem_path,'templatei.npy'))

dataram['pre'] = np.load(join(tem_path,'pre.npy')) dataram['gt'] = np.load(join(tem_path,'gt.npy')) dataram['init0'] = np.load(join(tem_path,'init0.npy')) dataram['train'] = np.arange(len(dataram['gt']), dtype=np.int)

你好 这部分代码是什么意思呢,这几个.npy文件哪里可以找到呢

renlicheng avatar Nov 24 '19 07:11 renlicheng

你好 They are the templates for training UpdateNet and along with the corresponding labels, i.e. initial, accumulated, current and real, as in the pipeline Figure of tracker (three inputs and one finally compared one).
They are generated by simulating the real tracking.

zhanglichao avatar Nov 24 '19 16:11 zhanglichao

请问.npy文件怎么生成?

Rongmiq avatar Dec 25 '20 06:12 Rongmiq