There was a problem compiling the code from your notebook. Details: name 'train_mnist' is not defined

Hi there,

I’m currently at Course 1 week 2. Unfortunately I get a problem, that my ‘train_mnist’ is not defined, but is. Can anyone help me with that?

Thanks in advance!

Hello @yemyk,
Welcome to the community!

How intriguing, did you take a look at the function’s implementation?

You can send your notebook to me via direct message (DM) by clicking on my profile picture and selecting the option to send a message. There, you will be able to attach your notebook, and we can discuss the problems here, in the thread you created.

I reviewed your code, and everything seems correct. Therefore, let’s try a few steps:

  1. Try restarting your notebook;
  2. If that doesn’t work, restart your environment following these instructions.

If none of this works, please let me know.

Hello @yemyk ,

If your issue is not yet resolved, check if your metadata is okay or not.
Check this link : TF1: How to check your notebook's metadata

With regards,
Nilosree Sengupta