bitorch.models.model_hub.convert_dtypes

bitorch.models.model_hub.convert_dtypes(data: dict) dict[source]

converts types of the values of dict so that they can be easily compared accross dataframes and csvs. converts all values that are not numerical to string.

Parameters:

data (dict) – dict with values to be converted

Returns:

dict with converted values

Return type:

dict