Bug in practice lab?

Hi, there! I run all cells and have not correct output of your initial cells

Should I continue to work on this lab?

Have you filled anything in the lab? It seems not to me. If you haven’t filled anything in it, yes, you should keep working with it…

Hi @someone555777!

As mentioned by Gent, you have to write your code between two lines:

### START CODE HERE ###

### END CODE HERE ###  

You don’t need to change any other code or write anywhere else.

Best,
Saif.

I didn’t change anything. This is initial run and I only read lab

You have to write your code, as instructed in the assignment notebook. And, after writing your code, if you face any errors, you can share them with us.

Note: Posting your code is not allowed, only share errors.

Best,
Saif.

did you seemy screens? they are both with errors. In first screen Data is not expected by author. They are without any layers.

You can check by yourself, mate Coursera | Online Courses & Credentials From Top Educators. Join for Free | Coursera

I don’t see anything. Please share your screenshot with us.

That’s precisely the problem. Notice in the instructions where it says …using the Dense layer … ? You are required to build out the architecture of the model with layers. You have not done so.

oh, really, looks like I missed place, where I should type code. Thanks :slight_smile:

you have to write your code between two lines:

### START CODE HERE ###

### END CODE HERE ###  

You don’t need to change any other code or write anywhere else.

I found one more problem in this screen

So, there is error, because all images was classified correctly, if I did everyting correct in this optional task Coursera | Online Courses & Credentials From Top Educators. Join for Free | Coursera

It seems you have edited some code that you don’t suppose to edit. Get a clean copy of your notebook and then give it a new try.

Remember: you have to write your code between two lines:

### START CODE HERE ###

### END CODE HERE ###

You don’t need to change any other code or write anywhere else.

I’m not a mentor so not allowed to see the programming exercises, but I do notice in the posted code above that

np.where(y != Yhat)

is used. That syntax is not the preferred form, see the Note at

https://numpy.org/doc/stable/reference/generated/numpy.where.html

When only condition is provided, this function is a shorthand fornp.asarray(condition).nonzero() . Using nonzero directly should be preferred

If that is in the DL-provided content and not added by the learner, it probably should be corrected

Hi @ai_curious! This particular cell is to check how one of the misclassified images looks. I think this learner added some code at irrelevant places as he was not aware to write code at specific places.

@someone555777! Kindly get a clean copy of your assignment (mentioned in my previous reply) and then write your code at specific places, as I mentioned earlier.
Note: You have to run all the cells.

Best,
Saif.