Loads the MegaDetector model.

load_model(model_file = NULL)

Arguments

model_file

Path to the checkpoint file or a model identifier (e.g., "MDV5A", "MDV5B"). If NULL or a specific identifier, the model will be downloaded to the cache if needed.

Value

A loaded model object (Python object).