You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The save_name key stored in the JSON file does not correctly match the path of the generated closed-loop evaluation folder. This inconsistency causes a mismatch when attempting to read the corresponding files, leading to errors.
Traceback (most recent call last):
File "tools/efficiency_smoothness_benchmark.py", line 281, in <module>
all_data, driving_efficiency_list = read_from_json(args.file, args.metric_dir)
File "tools/efficiency_smoothness_benchmark.py", line 251, in read_from_json
with open(filepath, 'r') as file:
FileNotFoundError: [Errno 2] No such file or directory: 'Bench2Drive/eval_bench2drive220_vad_traj/RouteScenario_3048_rep0_Town12_MergerIntoSlowTraffic_1_0_02_06_11_37_52/metric_info.json'
Expected Behavior
The script should be able to correctly locate and read the metric_info.json file based on the save_name key in the provided JSON file.
Hi @curryqka, please check if the metric_info.json exists. @jayyoung0802
I confirm that the metric_info.json file exists. The issue arises because the key "save_name" is set to "RouteScenario_3048_rep0_Town12_MergerIntoSlowTraffic_1_0_02_06_11_37_52", whereas the actual saved folder name is "bench2drive220_0_...[]". This inconsistency causes the problem.
Description
The
save_name
key stored in the JSON file does not correctly match the path of the generated closed-loop evaluation folder. This inconsistency causes a mismatch when attempting to read the corresponding files, leading to errors.Error Message
When running the following command:
The following error occurs:
Expected Behavior
The script should be able to correctly locate and read the
metric_info.json
file based on thesave_name
key in the provided JSON file.Steps to Reproduce
Possible Solution(I wonder how to resize the key "save_name"?)
save_name
key in the JSON file to ensure it correctly reflects the intended path.Environment
The text was updated successfully, but these errors were encountered: