Error rate
1 - 'accuracy'
error_rate(inp, targ, axis = -1)
inp |
The predictions of the model |
targ |
The corresponding labels |
axis |
Axis |
tensor
## Not run: learn = cnn_learner(dls, resnet34(), metrics = error_rate) ## End(Not run)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.