more test

This commit is contained in:
QuanyiLi
2023-05-08 16:22:32 +01:00
parent c5b0aa8f07
commit 53abbc0152
2 changed files with 3 additions and 3 deletions

View File

@@ -15,8 +15,8 @@ def _test_combine_dataset():
combine_path = os.path.join(SCENARIONET_DATASET_PATH, "combined_dataset")
combine_multiple_dataset(combine_path, *dataset_paths, force_overwrite=True, try_generate_missing_file=True)
os.makedirs("verify_results", exist_ok=True)
verify_loading_into_metadrive(combine_path, "verify_results")
# os.makedirs("verify_results", exist_ok=True)
# verify_loading_into_metadrive(combine_path, "verify_results")
# assert success

View File

@@ -31,7 +31,7 @@ def test_generate_from_error():
for scenario_file in sorted_scenarios:
read_scenario(dataset_path, mapping, scenario_file)
success, logs = verify_loading_into_metadrive(
dataset_path, result_save_dir="../test_dataset", steps_to_run=1000, num_workers=8)
dataset_path, result_save_dir="../test_dataset", steps_to_run=1000, num_workers=16)
set_random_drop(False)
# get error file
file_name = ErrorFile.get_error_file_name(dataset_path)