-
is this the way you recalled the labels or included label with 2?
-
Please give detail about which activation you have used for the last dense layer in your model?
-
The most common mistake by learners in this assignment was related def do salience grader cell where the learner missed converting the image from BGR to RGB, check if you have done this.
-
The next usual mistake one can do in the below statement of def do salience grader cell
Define the expected output array by one-hot encoding the label, how have you recalled image shape in this code. -
Next let me which loss you used in GradientTape block
-
Next create your model compile statement based on the instructions given below
-
The last thing you need to confirm is if you have run the Optional: Saliency Maps at 95 epochs.
Kindly do so.
Let me know if you have done assignment as per the instructions shared and yet facing the same issue. If any change that what I have stated, kindly give details about what step you missed or you used instead of sharing codes. This way you are also learning on how to debug your assignment.
Regards
DP