bioniumx.models.fetch_model

bioniumx.models.fetch_model(model_name: str) str[source]

Download a pre-trained model file and return its local path.

Parameters:

model_name (str) – Name of the model file (e.g., ‘cnn_model.pth’).

Returns:

path – Absolute path to the downloaded (or cached) file.

Return type:

str