Closed jeonga0303 closed 4 months ago
The CheckpointHook of MMDetection V2.25.3 can not save the best checkpoint by default. I recommend you use the Co-DETR implemented by MMDetection V3, which supports such checkpoint saving features.
The CheckpointHook of MMDetection V2.25.3 can not save the best checkpoint by default. I recommend you use the Co-DETR implemented by MMDetection V3, which supports such checkpoint saving features.
my mmdet was an older version. Thanks for letting me know.
@TempleX98
Are you saying that the 'best.pth' file is generated starting from mmdetection version 3.x.x? I think that's incorrect. I added the checkpoint_config option to config file to automatically generate the 'best.pth' file, and it was automatically created.
checkpoint_config = dict( interval=1, max_keep_ckpts=3, save_last=True, )
I'm encountering an issue where the best.pth file does not automatically generate as expected in my project. Despite following the usual procedures and ensuring my configurations are correctly set, this file, which should represent the best model state based on validation performance, is not being created. Could there be a specific reason for this, or is there a step I might be missing? Any insights or suggestions on how to troubleshoot this problem would be greatly appreciated.
Additionally, I've noticed that my logs do not display class-wise accuracy, which is crucial for a detailed analysis of my model's performance across different categories. I am unsure if this feature requires additional configuration or if it's a limitation of the tools I'm using. Could someone advise on how to enable or set up logging to include class-wise accuracy? Detailed steps or references to documentation would be extremely helpful.