cli_pretrained_model¶

cli_pretrained_model(usage_help='Name of the predefined model used to process the data. The format is <model_name>_<dataset_trained_on>. For example, `resnet18-kather100K` is a resnet18 model trained on the Kather dataset. Please see https://tia-toolbox.readthedocs.io/en/latest/usage.html#deep-learning-models for a detailed list of available pretrained models.By default, the corresponding pretrained weights will also bedownloaded. However, you can override with your own set of weightsvia the `pretrained_weights` argument. Argument is case insensitive.', default='resnet18-kather100k')[source]¶

Enables –pretrained-model option for cli.

Parameters:
  • usage_help (str)

  • default (str)

Return type:

callable