We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 30f3492 commit 7cd2357Copy full SHA for 7cd2357
tiatoolbox/models/architecture/vanilla.py
@@ -31,7 +31,7 @@ def _get_architecture(
31
Args:
32
arch_name (str):
33
Name of the architecture (e.g. 'resnet50', 'alexnet').
34
- weights (str or WeightsEnum):
+ weights (str, WeightsEnum, or None):
35
Pretrained torchvision model weights to use (get_model_weights).
36
Default is None to avoid downloading ImageNet weights.
37
To initiate the models with ImageNet weights, use "DEFAULT".
0 commit comments