pretrained-models.pytorch
pretrained-models.pytorch copied to clipboard
error: torch 0.1.12.post2 is installed but torch==1.2.0 is required by {'torchvision'}
when i python setup.py install
Processing dependencies for pretrainedmodels==0.7.4 error: torch 0.1.12.post2 is installed but torch==1.2.0 is required by {'torchvision'}
Is that not fairly straightforward? You have an incredibly old version of pytorch installed, version 0.1.12 apparently, but the current version is like 1.3 or 1.4, and pretrainedmodels relies on torchvision, which itself relies on up-to-date pytorch. You need to install the latest version of pytorch