Skip to content

Commit

Permalink
dists for windows
Browse files Browse the repository at this point in the history
  • Loading branch information
mattclifford1 committed Jul 17, 2024
1 parent e3dc71f commit ad79e31
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion IQM_Vis/examples/dists.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,9 @@ def run():
metric_images = {}

# make dataset list of images
files = sorted(glob.glob('/home/matt/datasets/Textures/*'))
files = sorted(glob.glob(os.path.join(os.path.expanduser('~'), 'datasets', 'Textures', '*')))
if len(files) == 0:
raise ValueError('No files found in the dataset directory - please download the texture dataset')

data = IQM_Vis.dataset_holder(files,
metric,
Expand Down

0 comments on commit ad79e31

Please sign in to comment.