NameError: name 'img' is not defined! The img on line 216 of the training code is not declared。How to solve it?