ERROR: vars() argument must have __dict__ attribute when trying to use trainer.train()?

I’m having the same issue. Just posted my related questions here.