Week 1 assignment not changing

Hello
There is a problem with my week 1 assignment. When I started the assignment, some cells were not changing and some were changing. When I updated the cell, I got errors. according to instructions. I can’t change anything except that area. Here in the community, I saw a solution to import Keras from Tesorflow, but I don’t know where to add it. Can anyone help?

Hello Azam,

according to your issue, it seems your assignment is downloaded or updated properly. I would suggest your to refresh your work environment, that is Update your working notebook.

If you want to download keras from tensorflow, and as I know for any assignment they already give the import library section with required files, if you are still have an issue you can install through pip install.

Keep learning!!!
Regards
DP

Hello Deepti,
Thanks for your response. I have already refreshed and updated my notebook, but still, the issue is there. Also, they imported libraries, but they haven’t imported Keras from Tensor Flow. I can install, but, as per the instructions, I can only write or modify code in the area inside “start code here” and "end code here. So I don’t know where to import or install the library.

Hello Azam, can you share the screenshot of your error you got in all the cells?

Hello @Muhammad_Azam1 and @Deepti_Prasad ,

As per the coursera labs of TF1 specialization, you cannot install anything apart from what’s given.
You can only write/modify codes of the cells bwtween

#start code here
.
.
.
#end code here

With regards,
Nilosree Sengupta

Yes I checked, that’s why I asked him to share the screenshot of the error. as there are only 2 cells to be graded and he mentions getting error in some cells.

As some of the TF course assignments are of Colab I thought it was a Colab assignment, turns out it is Coursera work environment. So I know we cannot use pip install.

Regards
DP

Hello @Muhammad_Azam1 ,

Check this and revise the lesson :

With regards,
Nilosree Sengupta

Hello @Deepti_Prasad ,

We can’t install anything else even for Google colab.

WIth regards,
Nilosree Sengupta

For one of the assignment I had to use pip install in Colab for tensorflow which is not related this course. as the assignments keep getting upgraded, I had that thought.

Hello @Deepti_Prasad ,

I meant this for the TF1 specialization assignments, not for things outside it.

Definitely anything apart from course needs installation on Google colab.

With regards,
Nilosree Sengupta

Hello @Muhammad_Azam1 ,

Is your issue resolved following this?

If not, let me know.

With regards,
Nilosree Sengupta