I have managed to get all the other models to work (I have left in the code for resnext as an example), but when I try to use it with the wide_resnet I get:
AttributeError: module ‘torchvision.models’ has no attribute ‘wide_resnet101_2’
I am thinking this is possibly a pytorch version problem but have been trying to update to the latest version without apparent success.
0.3.0 doesn’t contain this model as seen here and is too old.
I would recommend to update to the latest stable version (0.6.0), which will contain this model as well as other new features and bug fixes.
Once you are about to update torchvision also update PyTorch, as I assume you might be using an older PyTorch version as well.