Skip to content

Commit

Permalink
adjust first test image start idx
Browse files Browse the repository at this point in the history
  • Loading branch information
georghess committed Oct 24, 2024
1 parent 388642a commit 641aa88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion datasets/driving_dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -585,7 +585,7 @@ def split_train_test(self):
if self.data_cfg.pixel_source.test_image_stride != 0:
test_timesteps = np.arange(
# it makes no sense to have test timesteps before the start timestep
self.data_cfg.pixel_source.test_image_stride,
max(0,self.data_cfg.pixel_source.test_image_stride-1),
self.num_img_timesteps,
self.data_cfg.pixel_source.test_image_stride,
)
Expand Down

0 comments on commit 641aa88

Please sign in to comment.