Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Fix] analyze_logs.py to plot mAP and cal train time correctly #9409

Merged
merged 4 commits into from
Dec 5, 2022

Conversation

RangeKing
Copy link
Collaborator

@RangeKing RangeKing commented Nov 29, 2022

Motivation

Fix analyze_logs.py to

  1. plot mAP correctly.

    1. If --eval-interval is not set when plotting mAP, it will raise KeyError: 'log.json does not contain metric bbox_mAP. Please check if "--no-validate" is specified when you trained the model..
    2. If --eval-interval is set correctly, it will raise ValueError: x and y must have same first dimension, but have shapes (300,) and (30,).
      image
  2. calculate train time correctly.
    image

Modification

tools/analyze_logs.py

hhaAndroid
hhaAndroid previously approved these changes Nov 30, 2022
@RangeKing RangeKing changed the title [Fix] analyze_logs.py to plot mAP correctly [Fix] analyze_logs.py to plot mAP and cal train time correctly Nov 30, 2022
@ZwwWayne ZwwWayne added this to the 3.0.0rc5 milestone Dec 2, 2022
@ZwwWayne ZwwWayne merged commit fe44e3f into open-mmlab:dev-3.x Dec 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants