I am wondering if there is instructions on how to submit the assignment. What type of file should we submit? What format should it be? Thank you.
Hi Jenna. There are instructions toward the end of the notebook:
Coursera Labs will automatically convert your notebook to the format that the grader will accept. I recommend saving your work first though before pressing the Submit Assignment
button. Sometimes Coursera gets a blank version of the notebook if thatâs not done. Weâll modify the instructions in the notebook to make that clearer.
Hope this helps!
Thank you so much Chris.
I submitted the notebook in ipynb format, and wasnât able to pass the grader, with âFunction âmodel.fitâ not found in Code Cell 11. Please make sure you have not altered the cell positions from the original exercise question.â.
So not 100% about why. Thank you.
T
Hi Jenna. You might have introduced a new cell while debugging your solution. You can delete that and resubmit. If it doesnât work, please see this post for instructions on how to get a new notebook. Once you have the blank notebook, you can copy your old solutions there, and then resubmit. Hope it works!
Thank you @chris.favila.
Fixed it but now itâs saying that âSorry, your submission was incorrect. Please try again. âimageâ must be at least three-dimensional.â.
Here is my code:
def format_example(image, label):
# Cast image to float32
image = tf.cast(image, tf.float32)
# Normalize the image in the range [0, 1]
image = tf.image.per_image_standardization(image)
return image, label
Not sure where it went wrong. Thank you.
Hi Jenna! Sorry just saw this. You may want to check this post because the solution is similar (but your initial solutions are different). Just let me know if you need more hints. Thanks!
Hi Chris,
I probably still need more hint. The model is fine, but the grader wouldnât pass me for some reason. Thank you.
Actually I tried again with 2nd line of the code within âformat_exampleâ - divided the pixels directly and it worked! Thank you!