Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
pseudotensor committed Oct 27, 2024
1 parent 42e9a05 commit 50ac36b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/model_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -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']
Expand Down
2 changes: 1 addition & 1 deletion src/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "e1440e48046d5bdda4d5f5e6fd8d5e4ccb208f0a"
__version__ = "42e9a056acc68c18b0c8dc29503c93cac921a2bb"

0 comments on commit 50ac36b

Please sign in to comment.