Skip to content

TO evaluate the trained detection model, dataset format same as used for training #1372

Answered by felixT2K
madhavi1102 asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @madhavi1102 👋🏼,

  1. If you want to evaluate on your own data you can modify the https://github.com/mindee/doctr/blob/main/references/detection/evaluate_pytorch.py script to work with your own data (replace the dataset with DetectionDataset) or make use of the training script --test-only flag https://github.com/mindee/doctr/blob/4cadd8d681130327da80a1a5cc4b4861ff481f14/references/detection/train_pytorch.py#L425C93-L425C103
  2. Correct if you want to resume from your checkpoint there is no need to pass --pretrained

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@madhavi1102
Comment options

Answer selected by madhavi1102
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants