Lesson 2 Dog Breeds Error on call of accuracy(log_preds,y)

There were some updates. Read more here

log_preds, y = learn.tta()
probs = np.mean(np.exp(log_preds), axis=0)

You may also want to consider to use accuracy_np() (which works with numpy arrays), not accuracy()

1 Like