C3W3 Image Segmentation Assignment

Digit 0: IOU: 0.751234568157166 Dice Score: 0.8579485378580962
Digit 1: IOU: 0.46499825084879554 Dice Score: 0.6348106574664788
Digit 2: IOU: 0.7059981476308498 Dice Score: 0.8276657850894822
Digit 3: IOU: 0.5874856185613898 Dice Score: 0.7401460674916953
Digit 4: IOU: 0.2782602301455253 Dice Score: 0.4353733672431497
Digit 5: IOU: 0.6306925594935684 Dice Score: 0.7735272433622856
Digit 6: IOU: 0.6743067804547094 Dice Score: 0.8054757813464716
Digit 7: IOU: 0.7561529066920005 Dice Score: 0.8611470044119401
Digit 8: IOU: 0.7011920831070714 Dice Score: 0.8243538052327931
Digit 9: IOU: 0.6293889969181794 Dice Score: 0.7725460263234529

Grade is 61.79710142009256
You passed!

AssertionError: You have TF2.17.1. Please install the grader-compatible Tensorflow.

Gives this error when i submit the final_model.h5.

this is a version issue of tf. make sure you are working on latest update version and then pip install tf version 2.18

@Maur_cd

by any chance you are getting similar issue?? i haven’t got your response on your post again.

looks like grader compatible version is 2.8.0, but I get errors when I try to install it.

that’s probably because you might be doing at the wrong place.

The assignment was updated with the information and added with pip install statement. if it wasn’t, then please go back to the classroom page, then refresh your page, reopen the assignment, you will have to re-do assignment, so make sure you have saved the copy in your system you already have written codes.

!pip install tensorflow==2.8.0 --quiet
!pip install keras==2.8.0 --quiet

then Runtime > Restart Session

HI, Deepti.

Yes, I still have a similar issue. (with the anime faces assignment). I’ll try the solution you suggest. Thanks. I’ll let you know if it gets fixed.

1 Like

I refresh the Coursera page, and I’m still getting the same page with a Link to Colab, and the same versions in it.

In the file I get, the version being installed is 2.15. I tried both 2.8.0 and 2.8, but it tells me those versions are not available. The latest version is 2.18.0.

how are you installing 2.8 version?


how about 2.18?

Let me try.

No, i didn’t work, sorry. I misread the number. The highest version with the of the 2 is 2.15. Then it jumps to the 3. versions.

please send me screenshot of your codes let me go through your codes once by personal dm

1 Like

I just sent you the screen shots.

Hi Mauricio. This is a problem with the new Colab runtime. For now, please use the fallback runtime (instructions here) to do the assignments and ungraded labs. This should let you use the GPU and install TF2.8 while we work on a more stable fix. Thank you, and sorry for the trouble!

@Maur_cd please follow what @chris.favila mentioned you to do.

Also I am confused as you sent me course 4 week 3 assignment screenshot but the header mentions c3w3 assignment. can you confirm which assignment you are having issue.