I am following this 2 link as to how to convert FC layer weights into Conv layer weights. But when I enumerate over fcLayers[1:], it throws the following error:

IndexError: index slice(1, None, None) is out of range

Could someone suggest some solution ?