more test
This commit is contained in:
@@ -15,8 +15,8 @@ def _test_combine_dataset():
|
|||||||
|
|
||||||
combine_path = os.path.join(SCENARIONET_DATASET_PATH, "combined_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)
|
combine_multiple_dataset(combine_path, *dataset_paths, force_overwrite=True, try_generate_missing_file=True)
|
||||||
os.makedirs("verify_results", exist_ok=True)
|
# os.makedirs("verify_results", exist_ok=True)
|
||||||
verify_loading_into_metadrive(combine_path, "verify_results")
|
# verify_loading_into_metadrive(combine_path, "verify_results")
|
||||||
# assert success
|
# assert success
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -31,7 +31,7 @@ def test_generate_from_error():
|
|||||||
for scenario_file in sorted_scenarios:
|
for scenario_file in sorted_scenarios:
|
||||||
read_scenario(dataset_path, mapping, scenario_file)
|
read_scenario(dataset_path, mapping, scenario_file)
|
||||||
success, logs = verify_loading_into_metadrive(
|
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)
|
set_random_drop(False)
|
||||||
# get error file
|
# get error file
|
||||||
file_name = ErrorFile.get_error_file_name(dataset_path)
|
file_name = ErrorFile.get_error_file_name(dataset_path)
|
||||||
|
|||||||
Reference in New Issue
Block a user