Skip to content

Instantly share code, notes, and snippets.

@curiousily
Created February 17, 2020 21:14
Show Gist options
  • Save curiousily/3997b61613c7865b653c3819454cb07f to your computer and use it in GitHub Desktop.
Save curiousily/3997b61613c7865b653c3819454cb07f to your computer and use it in GitHub Desktop.
evaluator = COCOEvaluator("faces_val", cfg, False, output_dir="./output/")
val_loader = build_detection_test_loader(cfg, "faces_val")
inference_on_dataset(trainer.model, val_loader, evaluator)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment