Error in fit()

Video Lesson 8 and lesson4-mnist_sgd.ipynb

When I run the line fit(net, md, n_epochs=1, crit=loss, opt=opt, metrics=metrics) I get the error

File “”, line 110, in
names = [“epoch”, “trn_loss”, “val_loss”] + [f.name for f in metrics]

AttributeError: ‘str’ object has no attribute ‘name

Thanks for your help!