minGPT icon indicating copy to clipboard operation
minGPT copied to clipboard

cannot import name 'sample' from 'mingpt.utils'

Open chris-the-wiz opened this issue 2 years ago • 1 comments

Hello, I downloaded the repo and installed from the source to be able to run the atari sample for decision transformer but it throws an error saying cannot import name 'sample' from 'mingpt.utils'. Could you point me to the commit where the said sample function (?) can be found?

chris-the-wiz avatar Nov 01 '22 15:11 chris-the-wiz

Hi @chris-the-wiz , I have the same problem. Did you solve it?

zero-nnkn avatar Mar 15 '23 04:03 zero-nnkn