Menu

Benchmark multi-model/multi-view models.

Note

This page is a reference documentation. It only explains the function signature, and not how to use it. Please refer to the gallery for the big picture.

mmbench.model.get_models(get_fct, checkpointfile, *args, **kwargs)[source]ΒΆ

Get N trained instance of a model from associated checkpoint files.

Parameters

get_fct : callable

a fonction that returns an instance of a model from a checkpoint file and some additional optional parameters.

checkpointfile : list of str

list of files containing the model weights.

Returns

models : list of Module

the list of instanciated models.

Follow us

© 2023, mmbench developers