Skip to content

Commit

Permalink
chore: support .dat rgb file extension (#155)
Browse files Browse the repository at this point in the history
  • Loading branch information
yuta-tsuzuki-woven committed Jun 23, 2023
1 parent bfd93e8 commit 4608c9e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions dgp/utils/dataset_conversion.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ def compute_image_statistics(image_list, image_open_fn, single_process=False, nu
".bmp",
".pgm",
".tiff",
".dat",
)
image_list = list(filter(lambda x: x.lower().endswith(valid_extensions), image_list))
if not image_list:
Expand Down

0 comments on commit 4608c9e

Please sign in to comment.