Fix nightly (#775)

这个提交包含在:
Simon Alibert
2025-02-26 16:36:03 +01:00
提交者 GitHub
父节点 da265ca920
当前提交 659ec4434d
共有 51 个文件被更改,包括 145 次插入 和 172 次删除

查看文件

@ -114,7 +114,7 @@ def test_robot(tmp_path, request, robot_type, mock):
if "image" in name:
# TODO(rcadene): skipping image for now as it's challenging to assess equality between two consecutive frames
continue
assert torch.allclose(captured_observation[name], observation[name], atol=1)
torch.testing.assert_close(captured_observation[name], observation[name], rtol=1e-4, atol=1)
assert captured_observation[name].shape == observation[name].shape
# Test send_action can run