prigoyal / pytorch_memonger

Experimental ground for optimizing memory of pytorch models

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

NameError: name 'self' is not defined

17sarf opened this issue · comments

This is probably an issue on my part, but when I run the "Checkpointing_for_PyTorch_models" tutorial, when I get to self.assertEqual(out_checkpointed, out_not_checkpointed), get the following error NameError: name 'self' is not defined. Am I missing something?

Thanks in advance.