Replies: 3 comments
-
You may check the tensorboard history to find the best one |
Beta Was this translation helpful? Give feedback.
0 replies
-
did you find any fix Casperrrr? |
Beta Was this translation helpful? Give feedback.
0 replies
-
did you find a proper way to do your job ??? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I want to save the best model instead of the last model for detectron2. The evaluation metric I want to use is AP50 or something similar. The code I currently have is:
trainer.register_hooks([ EvalHook(eval_period=20, eval_function=lambda:{'AP50':function?}), BestCheckpointer(eval_period=20, checkpointer=trainer.checkpointer, val_metric= "AP50", mode="max") ])
But I have no idea what I have to substitute for the function in EvalHook. I use a subset of the coco dataset to train the model, and I saw that detectron2 contains some evaluation measures for the coco dataset, but I have no idea how to implement this.
Beta Was this translation helpful? Give feedback.
All reactions