Merge remote-tracking branch 'upstream/main' into unify_policy_api

This commit is contained in:
Alexander Soare
2024-04-16 17:30:41 +01:00
4 changed files with 23 additions and 17 deletions

View File

@@ -40,7 +40,8 @@ def test_examples_3_and_2():
],
)
exec(file_contents)
# Pass empty globals to allow dictionary comprehension https://stackoverflow.com/a/32897127/4391249.
exec(file_contents, {})
for file_name in ["model.pt", "stats.pth", "config.yaml"]:
assert Path(f"outputs/train/example_pusht_diffusion/{file_name}").exists()