Week 3 - compute_total_loss Incorrect

Here are the things to check:

  1. Make sure you did the transpose on the inputs.
  2. Make sure you use the from_logits option to tell the cost function that you are giving it logits and not activation values.
  3. Make sure you use reduce_sum and not reduce_mean to get the final scalar value.
  4. Make sure you use the loss function specified in the instructions.
  5. Make sure you specify the positional arguments to the loss function in the correct order.
43 Likes
Error while computing compute_total_loss Week 3 assignment
Week 3 - Assignment - compute_total_loss - try to set from_logits=False
Code does not correctly calculate cost despite the code seeming right
Compute total loss error
Weak 3 Programming assignment using Tensorflow
C2-W3 Why do we have to transpose "logits" and "labels"
Stuck on C2W3 Assignment: Cost Function
Tensorflow_introduction, compute_total_loss()
C2 W3 - Ex. 6 Compute Total loss - Failing Tests
Help on Week 3 Lab Cost Function (Tensor flow introduction)
Compute_total_loss_test ex 6 fails
Help with the final exercise of Course 2 of DL Specialization
C2 W3 Programming Assignment TensorFlow Introduction
DLS 2 week 3 exercise 6 compute_cost
Course 2 Week 3 Exercise 6 Question
Error with implementing compute_total_loss
Week 3 Grade stuck at 80/100
Got error on wrong value, but really cannot find where my code is worng. thanks
C2W3 Exercise 6 Test 1 does not match
Week 3 assignment - Tensorflow Cost Function Computation Error
Notebook in cw_w3 grading problems
There is a problem with the test code of calculating the cost function in the fifth week of the programming homework of the second lesson of the deep learning course. I have tried many methods but failed
DLS Course 2: week-3,Improving Deep Neural Networks: Hyperparameter tuning, Regularization, and Optimization_Exercise 6 - compute_total_loss
Problem in exercise 6-Programming Assignment: TensorFlow Introduction
Course 2 week 3 compute_total_loss
Course 2, Week 3, compute_total_loss, failed with really close result
Course 2 week 3 programming assignment
TensorFlow Introduction. Exercise 6 - compute_total_loss
I am getting score 80 in the programming assignment of week 3 of the second course. Please help
My code keeps giving me an error in assignment of Tensorflow and I dont know why this error occurs
Week 3 programming assignment error
Compute the total loss
Course 2, Week 3, Kernel error and cost computation problem!
Question and Bug in Second Course of Deep Learning
I am confused, can you help me?