abnerwang / py-Vital

Vital tracker implemented using PyTorch
37 stars 9 forks source link

Small resolution images cannot extract features #3

Open huilingliuliu opened 5 years ago

huilingliuliu commented 5 years ago

File "tracking/run_tracker.py", line 411, in result, result_bb, fps = run_vital(img_list, init_bbox, gt=gt, savefig_dir=savefig_dir, display=display) File "tracking/run_tracker.py", line 230, in run_vital pos_feats = forward_samples(model, image, pos_examples) File "tracking/run_tracker.py", line 48, in forward_samples return feats UnboundLocalError: local variable 'feats' referenced before assignment I encountered this problem in the process of operation. Is there any solution?

Scr-w commented 3 years ago

你好,请问你跑了这个代码了嘛,效果和原版有差距吗~期待您的回复,非常感谢