Add native SmolVLA model integration
This commit is contained in:
@@ -394,6 +394,23 @@ class TrainVLARolloutValidationTest(unittest.TestCase):
|
||||
self.assertTrue(rollout_cfg.eval.save_summary_json)
|
||||
self.assertTrue(rollout_cfg.eval.save_trajectory_image)
|
||||
|
||||
def test_resolve_dataset_image_resize_shape_prefers_agent_top_level_override(self):
|
||||
cfg = OmegaConf.create(
|
||||
{
|
||||
'agent': {
|
||||
'dataset_image_resize_shape': None,
|
||||
'vision_backbone': {
|
||||
'dataset_image_resize_shape': [256, 256],
|
||||
},
|
||||
},
|
||||
'data': {
|
||||
'image_resize_shape': [224, 224],
|
||||
},
|
||||
}
|
||||
)
|
||||
|
||||
self.assertIsNone(train_vla._resolve_dataset_image_resize_shape(cfg))
|
||||
|
||||
def test_training_passes_backbone_image_resize_override_to_dataset_instantiation(self):
|
||||
cfg = OmegaConf.create(
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user