Skip to content

Commit

Permalink
fix: use val_dataloader for tflite and onnx inference
Browse files Browse the repository at this point in the history
  • Loading branch information
nullptr committed Jul 11, 2023
1 parent 7a869bb commit 5811961
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/inference.py
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ def after_test_epoch(self, _, metrics=None):
# TODO: Support '.pickel' dump
runner = Infernce(
args.checkpoint,
dataloader=runner.test_dataloader,
dataloader=runner.val_dataloader,
cfg=cfg,
runner=runner,
source=args.source,
Expand Down

0 comments on commit 5811961

Please sign in to comment.