-
Notifications
You must be signed in to change notification settings - Fork 7
/
test.py
25 lines (17 loc) · 833 Bytes
/
test.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
from __future__ import absolute_import
from got10k.experiments import *
from siamfc import TrackerSiamFC
from config import config
if __name__ == '__main__':
# setup tracker
net_path = 'model/model_e31.pth'
tracker_test = TrackerSiamFC(net_path=net_path)
'''experiments = ExperimentOTB(config.root_dir_for_OTB, version=2015,
result_dir='dataset/results',
report_dir='dataset/reports')'''
experiments = ExperimentGOT10k('/Users/arbi/Desktop/All2', subset='val',
result_dir='GOT/results',
report_dir='GOT/reports')
# run tracking experiments and report performance
experiments.run(tracker_test, visualize=True)
experiments.report([tracker_test.name])