I run the above code for TPU strategy, and gives me the error as the pic below
I have tried asking Gemini for this, it told me to configure my role in Google Cloud Console IAM into Storage Object viewer, but apparently this does not work.
hi @Samuellac
did you connect your colab to your Google drive?
If you had notice on top of the assignment in information the link to dataset is provided, from where you download the dataset and save in your Google drive.
otherwisd use the below link
Also I am hoping you are working on the coursera provided colab environment and not your local colab.
I am using GPU enabled Colab, because this assignment is doing TPU strategy, so only possible ways is connect to TPU provided by Colab, but the file that Coursera giving me is on Google Cloud which actually can’t access by me. By the way, the course teacher Laurence Moroney operated on Colab
as far as I remember we all used the same course provided colab and connected with tpu, and didn’t have issue. but I wasn’t asking this, I was asking if the codes in download the dataset were run down, you must have got a pop up msg to connect the colab to your local Google drive, so did you allow that? as you had allow, the dataset would have got downloaded in your Google drive and got linked with Google colab, so the code here where you got error would have run down successfully.
Ok thank you very much, appreciated