Clean Code

This commit is contained in:
Timothyxxx
2024-03-27 14:46:29 +08:00
parent 607cf8e554
commit d79d5d2c01
1981 changed files with 272 additions and 306873 deletions

2
run.py
View File

@@ -216,6 +216,8 @@ def get_unfinished(action_space, use_model, observation_type, result_dir, total_
domain_path = os.path.join(target_dir, domain)
if os.path.isdir(domain_path):
for example_id in os.listdir(domain_path):
if example_id == "onboard":
continue
example_path = os.path.join(domain_path, example_id)
if os.path.isdir(example_path):
if "result.txt" not in os.listdir(example_path):