I checked rechecked , clear , restart nothing is working for me everything else is worked.
error: There was a problem grading your submission. Details:
name ‘training_images’ is not defined
@Abbas_Ahmed Please reply to this thread once your issue is fixed. I’ll upvote for now.
Hi Abbas! When working on graded functions, please use the variables declared in the function header. From the error message, it seems like you’re using a global variable in your solution. If this is for reshape_and_normalize()
, take note that there is an images
argument given in the function header. Try to use that and see if it gets rid of the error. Hope this helps!
I have the same problem, and I still have the same issue, everything passes expect the grader gives this error: name ‘training_images’ is not defined.
[Code removed]
Inside the convolutional_model
function, could you try explicitly specifying the shape instead of getting it from training_images
?
Apparently, references to variables outside the function scope has confused the grader.
Thank you so much, that worked!
We are glad it worked for you sir