bitorch.models.model_hubΒΆ
Functions
converts types of the values of dict so that they can be easily compared accross dataframes and csvs. |
|
downloads the newest version table from model hub. |
|
searches the version table dataframe for a row that matches model kwargs |
|
finds the matching row for model_kwargs in version table and path to model artifact for given configuration |
|
converts a pytorch lightning checkpoint to a normal torch state dict |
|
loads the model that matches the requested model configuration in model_kwargs from the model hub. |