Vision: option for pretrained model for vgg net is not available.

Created on 15 Mar 2017  路  2Comments  路  Source: pytorch/vision

I installed torchvision today with conda on a new machine and found that the argument for pretrained vgg models is not available now. But the corresponding option for resnet is still there.

An older version of torchvision installed on Mar 7th works fine.
I forgot pyTorch on this machine was installed from source.

image

Most helpful comment

This will fix it for you

pip install https://github.com/pytorch/vision/archive/master.zip

All 2 comments

This will fix it for you

pip install https://github.com/pytorch/vision/archive/master.zip

I had to run pip uninstall torchvision first, but otherwise working as expected.

Was this page helpful?
0 / 5 - 0 ratings