Skip to content

Commit

Permalink
Merge pull request #15 from gsig/asynctf
Browse files Browse the repository at this point in the history
asynctf updating api
  • Loading branch information
Gunnar Sigurdsson committed May 7, 2019
2 parents 7324e21 + ca789cb commit ded24bd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tasks/video_task.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ def validate_video(self, loader, model, criterion, epoch, args):
'{metrics}'.format(
i, len(loader), timer=timer, name=args.name, task=self.name,
metrics=' \t'.join(str(m) for m in metrics)))
del loss, output, target # make sure we don't hold on to the graph
submission_file(
ids, outputs, '{}/epoch_{:03d}.txt'.format(args.cache, epoch+1))
metrics = dict(m.compute() for m in metrics)
Expand Down

0 comments on commit ded24bd

Please sign in to comment.