SBU-BMI / wsinfer

🔥 🚀 Blazingly fast pipeline for patch-based classification in whole slide images
https://wsinfer.readthedocs.io
Apache License 2.0
59 stars 10 forks source link

unknown model error is confusing #92

Closed kaczmarj closed 1 year ago

kaczmarj commented 1 year ago

this is the error when one passes a mismatching model arch and weights. the pairs of arch,weights should be clarified.

wsinfer._modellib.models.ModelWeightsNotFound: model weights are not found for architecture 'resnet34' and weights name 'TCGA-PAAD-v1'. Available models are[('inception_v4', 'TCGA-BRCA-v1'), ('inception_v4nobn', 'TCGA-TILs-v1'), ('preactresnet34', 'TCGA-PAAD-v1'), ('resnet34', 'TCGA-BRCA-v1'), ('resnet34', 'TCGA-LUAD-v1'), ('resnet34', 'TCGA-PRAD-v1'), ('vgg16mod', 'TCGA-BRCA-v1')].