Skip to content

Commit

Permalink
Update test.py
Browse files Browse the repository at this point in the history
  • Loading branch information
twotwo2 authored Jul 2, 2020
1 parent cd0bd73 commit c8b2120
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tools/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
import numpy as np
import math
import sys
import shutil
sys.path.append('../')

from pysot.core.config import cfg
Expand Down Expand Up @@ -115,6 +116,10 @@ def main():
f.write(','.join([str(i) for i in x])+'\n')
print('({:3d}) Video: {:12s} Time: {:5.1f}s Speed: {:3.1f}fps'.format(
v_idx+1, video.name, toc, idx / toc))
os.chdir(model_path)
save_file = '../%s' % dataset
shutil.make_archive(save_file, 'zip')
print('Records saved at', save_file + '.zip')


if __name__ == '__main__':
Expand Down

0 comments on commit c8b2120

Please sign in to comment.