Hello, have jus finished the week 3 of course 4. I have a grade’s problem for Assignment 2, I am getting 66% while I passed all tests. This is the error I got.
Please, I do not what kind of error I have. Can anyone help me with that?
Hello, have jus finished the week 3 of course 4. I have a grade’s problem for Assignment 2, I am getting 66% while I passed all tests. This is the error I got.
Please, I do not what kind of error I have. Can anyone help me with that?
If you passed all the tests in the notebook, then the first thing to check is that you did not “hard-code” any of the parameter values that are declared parameters to the unet_model
function when you use them in the body of the function.
For example, I just tried hard-coding 23 instead of using n_classes
in the unet_model
function and I get exactly the behavior you describe: I pass the tests in the notebook, but fail the grader for unet_model
and end up with 66/100.
Thank you very much for your replay and attention, it helped me a lot. My mistake was the introduction of the number of filters as real numbers and not as multiples of the initial number of the filters.
I have corrected it and I got the 100.
That’s great that you were able to figure it out based on that hint. That’s a good thing to remember in general: it’s a bad idea to “hard-code” things unless there is no other choice and they specifically tell you to do that.
Onward!