bitorch.models.model_hub.download_version_table

bitorch.models.model_hub.download_version_table(model_table_path: str, no_exception: bool = False) DataFrame[source]

downloads the newest version table from model hub.

Parameters:
  • model_table_path (str) – path on hub to model version table

  • api (wandb.Api) – api to make download request with

  • no_exception (bool, optional) – weather exception shall be thrown if received version table is empty. Defaults to False.

Raises:

Exception – thrown if received version table is empty / cannot be downloaded and no_exception is False

Returns:

model version table

Return type:

pandas.DataFrame