Thanks for the solution, it worked for me.
I believe this 14 PyTorch tutorial (which I was following) should be updated to account for featmap_names being list[str], as defined in its documentation 12.