We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c214608 commit 54ded49Copy full SHA for 54ded49
tiatoolbox/models/architecture/__init__.py
@@ -37,7 +37,7 @@ def fetch_pretrained_weights(
37
Path to save the weight of the
38
corresponding `model_name`.
39
overwrite (bool):
40
- Overwrite existing downloaded weights.
+ Overwrite existing downloaded weights (force downloading).
41
42
Returns:
43
Path:
@@ -62,6 +62,7 @@ def fetch_pretrained_weights(
62
repo_id="TIACentre/TIAToolbox_pretrained_weights",
63
filename=file_name,
64
cache_dir=cache_dir,
65
+ force_download=overwrite,
66
)
67
68
0 commit comments