mirror of
https://github.com/huggingface/lerobot.git
synced 2026-06-18 16:57:12 +00:00
migrate policy revert
This commit is contained in:
@@ -325,9 +325,6 @@ def load_state_dict_with_missing_key_handling(
|
||||
Returns:
|
||||
List of problematic missing keys that weren't in the whitelist.
|
||||
"""
|
||||
state_dict["model.vlm.language_model.model.encoder.embed_tokens.weight"] = state_dict[
|
||||
"model.vlm.language_model.model.shared.weight"
|
||||
].clone()
|
||||
# Load the cleaned state dict with strict=False to capture missing/unexpected keys
|
||||
load_result = policy.load_state_dict(state_dict, strict=False)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user