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:
'graph-ice-cu111': PosNet trained on ice clusters on Cu(111). (https://doi.org/10.5281/zenodo.10054348)'graph-ice-au111-monolayer': PosNet trained on monolayer ice clusters on Au(111). (https://doi.org/10.5281/zenodo.10054348)'graph-ice-au111-bilayer': PosNet trained on bilayer ice clusters on Au(111). (https://doi.org/10.5281/zenodo.10054348)'asdafm-light':ASDAFMNettrained on molecules containing the elements H, C, N, O, and F. (https://doi.org/10.5281/zenodo.10514470)'asdafm-heavy':ASDAFMNettrained on molecules additionally containing Si, P, S, Cl, and Br. (https://doi.org/10.5281/zenodo.10514470)'edafm-base':EDAFMNetused for all predictions in the main ED-AFM paper and used for comparison in the various tests in the supplementary information of the paper. (https://doi.org/10.5281/zenodo.10606273)'edafm-single-channel':EDAFMNettrained on only a single CO-tip AFM input. (https://doi.org/10.5281/zenodo.10606273)'edafm-CO-Cl':EDAFMNettrained on alternative tip combination of CO and Cl. (https://doi.org/10.5281/zenodo.10606273)'edafm-Xe-Cl':EDAFMNettrained on alternative tip combination of Xe and Cl. (https://doi.org/10.5281/zenodo.10606273)'edafm-constant-noise':EDAFMNettrained using constant noise amplitude instead of normally distributed amplitude. (https://doi.org/10.5281/zenodo.10606273)'edafm-uniform-noise':EDAFMNettrained using uniform random noise amplitude instead of normally distributed amplitude. (https://doi.org/10.5281/zenodo.10606273)'edafm-no-gradient':EDAFMNettrained without background-gradient augmentation. (https://doi.org/10.5281/zenodo.10606273)'edafm-matched-tips':EDAFMNettrained on data with matched tip distance between CO and Xe, instead of independently randomized distances. (https://doi.org/10.5281/zenodo.10606273)
- 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.