You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Assignment 1 Q2 Linear SVM
In assignment1/cs231n/classifiers/linear_svm.py
line 79: margins = np.maximum(0, scores - correct_class_scores +1)
It seems line 79 includes the same-class loss adding the total loss by a constant 1*num_train, which might be fine for training, but strictly speaking not correct.
The text was updated successfully, but these errors were encountered:
Assignment 1 Q2 Linear SVM
In assignment1/cs231n/classifiers/linear_svm.py
line 79: margins = np.maximum(0, scores - correct_class_scores +1)
It seems line 79 includes the same-class loss adding the total loss by a constant 1*num_train, which might be fine for training, but strictly speaking not correct.
The text was updated successfully, but these errors were encountered: