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

KeyError: "['XXX'] not in index" #53

Open
njkrichardson opened this issue Nov 30, 2023 · 1 comment
Open

KeyError: "['XXX'] not in index" #53

njkrichardson opened this issue Nov 30, 2023 · 1 comment

Comments

@njkrichardson
Copy link

njkrichardson commented Nov 30, 2023

I added the @profile decorator to a custom module method (after from pytorch_memlab import LineProfiler, profile) and the output is the truncated display with the error KeyError: "['XXX'] not in index" for my method XXX. What's the meaning of this?

@Stonesjtu
Copy link
Owner

Can you post the code snippet and the full error message? The error message indicates the function under profiling is missing. However I still need more information to find out the actual reason.

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