-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Open
Labels
bugSomething isn’t working correctlySomething isn’t working correctlypoliciesItems related to robot policiesItems related to robot policies
Description
Why is this line
if "model_type" not in gemma_expert_config: |
elif isinstance(self.paligemma_config, dict):
# Override Pi0 default config for PaliGemma
if "model_type" not in gemma_expert_config:
paligemma_config["model_type"] = "paligemma"
cfg_cls = CONFIG_MAPPING[paligemma_config["model_type"]]
self.paligemma_config = cfg_cls(**paligemma_config)
and not
elif isinstance(self.paligemma_config, dict):
# Override Pi0 default config for PaliGemma
if "model_type" not in paligemma_config:
paligemma_config["model_type"] = "paligemma"
cfg_cls = CONFIG_MAPPING[paligemma_config["model_type"]]
self.paligemma_config = cfg_cls(**paligemma_config)
?
So if we don't define the model type in the expert this triggers the reset of the PaliGemma model type?
Metadata
Metadata
Assignees
Labels
bugSomething isn’t working correctlySomething isn’t working correctlypoliciesItems related to robot policiesItems related to robot policies