Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

data_util.py error #6

Open
usutdzxych opened this issue Oct 6, 2022 · 0 comments
Open

data_util.py error #6

usutdzxych opened this issue Oct 6, 2022 · 0 comments

Comments

@usutdzxych
Copy link

line 224

for gt_path,input_path in zip(gt_paths,input_paths):
# basename, ext = osp.splitext(osp.basename(gt_path))
basename_input, ext_input = osp.splitext(osp.basename(input_path))
input_name = f'{filename_tmpl.format(basename_input)}{ext_input}'
input_path = osp.join(input_folder, input_name)
assert input_name in input_paths, f'{input_name} is not in {input_key}_paths.'
gt_path = osp.join(gt_folder, gt_path)
paths.append(dict([(f'{input_key}_path', input_path), (f'{gt_key}_path', gt_path)]))
return paths

need to modify

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant