Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ternaus committed Jul 29, 2020
1 parent 7b6e5bc commit 9f3f934
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion retinaface/inference.py
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ def main():

file_paths = []

for regexp in ["*.jpg", "*.png", "*.jpeg", "*.JPG", ""]:
for regexp in ["*.jpg", "*.png", "*.jpeg", "*.JPG"]:
file_paths += sorted([x for x in tqdm(args.input_path.rglob(regexp))])

dataset = InferenceDataset(file_paths, max_size=args.max_size, transform=from_dict(hparams["test_aug"]))
Expand Down

0 comments on commit 9f3f934

Please sign in to comment.