diff --git a/src/model_utils.py b/src/model_utils.py index 8c3e3157a..598a8a31b 100644 --- a/src/model_utils.py +++ b/src/model_utils.py @@ -1821,7 +1821,7 @@ def __model_lock_to_state(model_dict1, **kwargs): model_visible_vision_models = model_state_trial.get('visible_vision_models') if model_visible_vision_models is None: model_visible_vision_models = kwargs['visible_vision_models'] - if isinstance(model_visible_vision_models, list): + if isinstance(model_visible_vision_models, list) and model_visible_vision_models: model_visible_vision_models = model_visible_vision_models[0] if model_state_trial['is_actually_vision_model']: model_visible_vision_models = model_state_trial['base_model'] diff --git a/src/version.py b/src/version.py index 6fc058b2e..63f0b3bb4 100644 --- a/src/version.py +++ b/src/version.py @@ -1 +1 @@ -__version__ = "e1440e48046d5bdda4d5f5e6fd8d5e4ccb208f0a" +__version__ = "42e9a056acc68c18b0c8dc29503c93cac921a2bb"