nshepperd/gpt-2

ModuleNotFoundError: No module named 'Sampler'

Closed this issue · 3 comments

there doesn't seem to be any module named Sampler, anywhere

figured it out

@manwhy Could you please say how you resolved this? I am currently having the same issue and I would love to know how to fix it.

i don't entirely remember how i fixed it, it might have been something to with differentiating between class names and file names, or it might have been something to do with circular file dependencies. not sure, since i don't have access to my old modified files anymore, but if i saw the exact error it might jog my memory up a little bit