Running ego_jerk with error: window_length must be odd.
There are some problem when I Running simulation for test
Running simulation: 0%| | 0/279 [03:05<?, ?it/s] Traceback (most recent call last): File "/home/yx/project/DTPP/nuplan-devkit/nuplan/planning/metrics/metric_engine.py", line 112, in compute_metric_results metric_results[metric.name] = metric.compute(history, scenario=scenario) File "/home/yx/project/DTPP/nuplan-devkit/nuplan/planning/metrics/evaluation_metrics/common/ego_jerk.py", line 30, in compute metric_statistics: List[MetricStatistics] = self._compute_statistics( File "/home/yx/project/DTPP/nuplan-devkit/nuplan/planning/metrics/evaluation_metrics/base/within_bound_metric_base.py", line 97, in _compute_statistics ego_pose_values = extract_function(ego_pose_states, **extract_function_params) File "/home/yx/project/DTPP/nuplan-devkit/nuplan/planning/metrics/utils/state_extractors.py", line 237, in extract_ego_jerk ego_acceleration = extract_ego_acceleration(ego_states=ego_states, acceleration_coordinate=acceleration_coordinate) File "/home/yx/project/DTPP/nuplan-devkit/nuplan/planning/metrics/utils/state_extractors.py", line 214, in extract_ego_acceleration acceleration = savgol_filter( File "/home/yx/miniconda3/envs/nuplan/lib/python3.9/site-packages/scipy/signal/_savitzky_golay.py", line 335, in savgol_filter coeffs = savgol_coeffs(window_length, polyorder, deriv=deriv, delta=delta) File "/home/yx/miniconda3/envs/nuplan/lib/python3.9/site-packages/scipy/signal/_savitzky_golay.py", line 102, in savgol_coeffs raise ValueError("window_length must be odd.") ValueError: window_length must be odd.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/yx/paper2/GameFormer-wavelet1/run_nuplan_test_test14-hard.py", line 226, in