pretrained-models.pytorch
pretrained-models.pytorch copied to clipboard
RuntimeError: invalid hash value
invalid hash value (expected "520b38e4", got "238c6f4e0b78e304085bb52cdbe98bf52e66b778eeb19fc2318a88c55b1bcf67")
The code is model_name = 'inceptionresnetv2' model = pretrainedmodels.dict[model_name](num_classes=1000, pretrained='imagenet')
Have you solved it? I got the same problem.
Did you guy solve this problem ?
Hi,
I just rerun travis on the last commit: https://travis-ci.org/Cadene/pretrained-models.pytorch/builds/467693144
It is passing. It means that travis is able to install everything, download every pretrained models and perform a forward pass.
You should probably try to remove every pretrained models (rm ~/.torch
), to update your version of pretrainedmodels (pip install --upgrade pretrainedmodels
) and to try again.
Please note that python 2 is not fully supported.
Also, try to use pretrainedmodels.__dict__[model_name]
instead of dict
.