Skip to content
This repository has been archived by the owner on Jul 2, 2024. It is now read-only.

Commit

Permalink
Merge pull request #36 from naufalso/patch-1
Browse files Browse the repository at this point in the history
Update make_dataset.py for skiping non .binary
  • Loading branch information
xiumingzhang committed Apr 30, 2023
2 parents 3d2d214 + bea37df commit a668dca
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions data_gen/merl/make_dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,9 @@ def main(_):

brdf_paths = xm.os.sortglob(FLAGS.indir)
for i, path in enumerate(tqdm(brdf_paths, desc="Training & Validation")):
if not path.endswith('.binary'):
continue

brdf = MERL(path=path)

rusink = brdf.tbl[:, :3]
Expand Down

0 comments on commit a668dca

Please sign in to comment.