Skip to content

Commit

Permalink
Update train_net.py
Browse files Browse the repository at this point in the history
  • Loading branch information
FengLi-ust authored Apr 8, 2024
1 parent 7ee80e8 commit 53bf20d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions train_net.py
Original file line number Diff line number Diff line change
Expand Up @@ -476,7 +476,7 @@ def test_save_features(cls, cfg, model, evaluators=None):
print(idx)

@classmethod
def test_visual_openset(cls, cfg, model, eval_visual_openset_combine, evaluators=None):
def test_visual_openset(cls, cfg, model, evaluators=None):
# build dataloade
dataloaders = cls.build_test_loader(cfg, dataset_name=None)
dataset_names = cfg['DATASETS']['TEST']
Expand Down Expand Up @@ -613,7 +613,7 @@ def main(args=None):
cfg.MODEL.WEIGHTS, resume=args.resume
)
if args.eval_visual_openset:
res = Trainer.test_visual_openset(cfg, model, args.eval_visual_openset_combine)
res = Trainer.test_visual_openset(cfg, model)
elif args.eval_track_prev:
res = Trainer.test_tracking_prev(cfg, model)
elif args.eval_get_content_features:
Expand Down

0 comments on commit 53bf20d

Please sign in to comment.