fix a bug in track.py
This commit is contained in:
parent
a830e47ecd
commit
e4ea0ba64b
1 changed files with 2 additions and 1 deletions
3
track.py
3
track.py
|
@ -38,7 +38,8 @@ 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):
|
||||
mkdir_if_missing(save_dir)
|
||||
if save_dir:
|
||||
mkdir_if_missing(save_dir)
|
||||
tracker = JDETracker(opt, frame_rate=frame_rate)
|
||||
timer = Timer()
|
||||
results = []
|
||||
|
|
Loading…
Reference in a new issue