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

Error when visualizing loss #4001

Closed
YRDTSS opened this issue Oct 26, 2020 · 3 comments
Closed

Error when visualizing loss #4001

YRDTSS opened this issue Oct 26, 2020 · 3 comments
Assignees

Comments

@YRDTSS
Copy link

YRDTSS commented Oct 26, 2020

I've learned a lot from your code, thanks for your great job!

When I run analyze_logs.py, error: KeyError: './work_dirs/20201026_154039.log.json does not contain metric loss_'.

Welcome to discuss with anyone who has the same problem

@yhcao6
Copy link
Collaborator

yhcao6 commented Oct 27, 2020

Can you provide your running command and log?

@YRDTSS
Copy link
Author

YRDTSS commented Nov 2, 2020

When I run:"python tools/analyze_logs.py plot_curve ./work_dirs/faster_rcnn/20201102_194729.log.json --keys loss_cls --out ./plot_result/a ",I can get a loss_cls graph. When I add ''loss_dfl'' to the "--keys" parameter, it displays an error:"KeyError: './work_dirs/faster_rcnn/20201102_194729.log.json does not contain metric loss_dfl'

@YRDTSS
Copy link
Author

YRDTSS commented Nov 2, 2020

Welcome to discuss with anyone who has the same problem

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

No branches or pull requests

2 participants