fix a bug in track.py
This commit is contained in:
parent
a830e47ecd
commit
e4ea0ba64b
1 changed files with 2 additions and 1 deletions
1
track.py
1
track.py
|
@ -38,6 +38,7 @@ def write_results(filename, results, data_type):
|
||||||
|
|
||||||
|
|
||||||
def eval_seq(opt, dataloader, data_type, result_filename, save_dir=None, show_image=True, frame_rate=30):
|
def eval_seq(opt, dataloader, data_type, result_filename, save_dir=None, show_image=True, frame_rate=30):
|
||||||
|
if save_dir:
|
||||||
mkdir_if_missing(save_dir)
|
mkdir_if_missing(save_dir)
|
||||||
tracker = JDETracker(opt, frame_rate=frame_rate)
|
tracker = JDETracker(opt, frame_rate=frame_rate)
|
||||||
timer = Timer()
|
timer = Timer()
|
||||||
|
|
Loading…
Reference in a new issue