Hi,
I think your MyConvo2d is an nn.Sequential object. SpectralNorm works on weight of nn.Conv2d. So, if you call  SpectralNorm on a sequence i.e.,MyConvo2d , it can not find the weight and hence the error is occurring.