Grading Issue in Submitting

image was removed as posting codes that grades your assignment is considered direct violation of Code of conduct, kindly refrain from posting any grade function codes. if a mentor wants to look at your codes they will ask you to send them by DM, until then posting screenshot of your feedback, error, your output was the better choice made by you

image

I am Husnain. And I am here with an issue. My Specialization is DeepLearning.AI TensorFlow Developer, Course is Convolutional Neural Networks in TensorFlow and Week 2 graded assignment is Programming Assignment: Cats vs Dogs with Data Augmentation.I face an issue in this assignment. I have completed my task correctly but I take 150 marks.I have correctly passed every code and graded but you failed me in one graded code. This graded code name is “create_augmentation_model

Filename: create_augmentation_model

0/50Score

Grader output

Failed test case: your model is missing the Input.Expected:a model with a defined Input,but got:Sequential model ‘sequential’ has no defined inputs yet..“ Please resolve my issue and pass me in this assignment.

And continue our remaining courses.Again please pass me in this assignment.THANK YOU

When the grader doesn’t give you full marks, it means there is an error in your code. The grader feedback tells you were to look for the mistake.

The grader uses different tests than those in the notebook. Passing the tests in the notebook does not prove your code is perfect.

1 Like

Do see this hint as well:

You must include the tf.keras.Input as the first layer with the appropriate shape which is equal to the shape of each image.

The problem with your code is you have mentioned your model before augmented statement and also looks like misplaced the subsequent above the augmented model code statement.

I also noticed the you didn’t use tf.keras.Sequential to the tf.keras.input resulting in such feedback.

also when you add subsequent layers, use command comma and not separate code line as per the given partial code statements.

compare your codes with the image below, notice your codes above the augmented model statmenet and None has trailing comma, instead you recalled each statement as x as in self recall function which is incorrect in your case

then provide the correct code

image removed by mentor as posting any codes written by you that grade your assignment is against community guidelines.if mentor wants to look at your codes they will ask you to send them by DM.

what is error in this code?
why is this code not providing me full grade?

I also pass this test “All tests passed”

first of all stop posting codes again and again, i already removed your earlier image which contained codes that grades your assignment.

Also asking correct codes is again violation of code of conduct and against community guidelines. I highly suggest you to go through FAQ section and read through community guidelines.

please post the screenshot of the grader feedback what it shows now after the above codes you submitted instead of posting codes.

you are still failing on autograder because you have done too much editing/deletion of part of code that you were suppose to touch.

remember stick to only writing codes between markers ###START AND END CODE HERE### which in your image is clearly gone.

you have deleted the arguments already given when a fresh notebook is opened from classroom page.

you do not need to import any libraries again in any of the grade function until specifically instructed.

get a fresh copy of the assignment and re-do the assignment by sticking to the instructions I mentioned just mentioned.

image removed by mentor/moderator as learner continues to post code on public post and ignore community warnings which is considered direct violation of Code of Conduct. If a mentor wants to look at your codes, they will ask you to send them by personal DM

image removed by mentor/moderator as learner continues to post code on public post and ignore community warnings which is considered direct violation of Code of Conduct. If a mentor wants to look at your codes, they will ask you to send them by personal DM

what error in this code

image removed by mentor/moderator as learner continues to post code on public post and ignore community warnings which is considered direct violation of Code of Conduct. If a mentor wants to look at your codes, they will ask you to send them by personal DM

what error in my code ?

why you not pass me in grade?

Do one thing clear out your kernel output and re-run each cell till end and then re-submit again.

Then share the complete screenshot of your grader feedback and stop posting codes again and again. I am going to flag your images as after giving you twice warning you continue to post grade function codes and ignore community warnings.

let me know if issue persists.

Also can I know if you edited the cell or first got a fresh copy and re-did the assignment?

what error in my code ?

you need to reply to my questions I asked to address your issue, so I can know why grader is still giving the same feedback.

remember autograder are sensitive to any of the instructions i mentioned above even if your codes are correct.

also when you make such changes make sure you save the changes you make before you submit, as sometimes grader doesn’t take up changes you do if you worked on the same assignment notebook.

i cannot give reason of why you are failing grader as you don’t seem to respond to my questions and continue to post codes on public post.

i also save after correction of code but we also failed in grade

did you get a fresh copy of notebook when you submit again notebook?

please do this

delete the kernel output, reconnect the kernel, then run again all the cell till end, save your work and then submit, if it’s still failing, then let me know.

let me know what happens.

Also I have sent you DM, please check.

follow 1a instructions from the below link to get a fresh copy

I accidentally permanently deleted my notebook
. How can I get modified and refresh the notebook of C2_W2_Assignment?

I just shared here the link to get fresh copy of notebook, please refer it.

where is the link?