mlspm.models#

class mlspm.models.PosNet#

Alias of mlspm.graph.models.PosNet

class mlspm.models.GraphImgNet#

Alias of mlspm.graph.models.GraphImgNet

class mlspm.models.GraphImgNetIce#

Alias of mlspm.graph.models.GraphImgNetIce

class mlspm.models.ASDAFMNet#

Alias of mlspm.image.models.ASDAFMNet

class mlspm.models.AttentionUNet#

Alias of mlspm.image.models.AttentionUNet

class mlspm.models.EDAFMNet#

Alias of mlspm.image.models.EDAFMNet

mlspm.models.download_weights(weights_name: str, target_path: PathLike | None = None) PathLike[source]#

Download pretrained weights for models.

The following weights are available:

Parameters:
  • weights_name – Name of weights to download.

  • target_path – Path where the weights file will be saved. If specified, the parent directory for the file has to exists. If not specified, a location in a cache directory is chosen. If the target file already exists, the download is skipped

Returns:

Path where the weights were saved.