Skip to content
Discussion options

You must be logged in to vote

UPDATE: So, after going through the Detectron2 library trying to follow every operation performed during evaluation to check if I was missing anything, I eventually realised that I was using the checkpoint of the pre-trained model used as a starting point for training... 🤦‍♂️ - for some reason I assumed that the init_checkpoint in the config file corresponded to the trained (final) model... my bad 😅

So downloading the trained model corresponding to the config file you are using and adding the following line to the script should let you load the trained model:

cfg.train.init_checkpoint = '<YOUR_PATH>/model_final_5251c5.pkl'

That model corresponds to the checkpoint for the ViTDet, ViT-B mod…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@mohamedettebayo
Comment options

@ljj7975
Comment options

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