add preprocess tests

This commit is contained in:
Pepijn
2025-09-12 21:41:25 +02:00
parent 376cc772ff
commit c8163662ad
3 changed files with 130 additions and 52 deletions
@@ -961,7 +961,6 @@ class PI05OpenPIPolicy(PreTrainedPolicy):
except Exception as e:
print(f"Warning: Could not remap state dict keys: {e}")
print("Returning model without loading pretrained weights")
return model
@@ -978,7 +978,6 @@ class PI0OpenPIPolicy(PreTrainedPolicy):
except Exception as e:
print(f"Warning: Could not remap state dict keys: {e}")
print("Returning model without loading pretrained weights")
return model