What version of fastai are you using? This was a known bug that was fixed recently, but has not been tested. If you’re on the latest version and are facing this, it would be great if you could provide a minimal reproducible example and post on this GitHub issue: