pytorch_memlab icon indicating copy to clipboard operation
pytorch_memlab copied to clipboard

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

Open njkrichardson opened this issue 1 year ago • 1 comments

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?

njkrichardson avatar Nov 30 '23 00:11 njkrichardson

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.

Stonesjtu avatar Nov 30 '23 06:11 Stonesjtu