Skip to content

Commit

Permalink
Image folder argument was not used
Browse files Browse the repository at this point in the history
  • Loading branch information
0asa authored Jun 4, 2018
1 parent bc4dfbc commit dd57170
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion detect.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@

model.eval() # Set in evaluation mode

dataloader = DataLoader(ImageFolder('data/samples', img_size=opt.img_size),
dataloader = DataLoader(ImageFolder(opt.image_folder, img_size=opt.img_size),
batch_size=opt.batch_size, shuffle=False, num_workers=opt.n_cpu)

classes = load_classes(opt.class_path) # Extracts class labels from file
Expand Down

0 comments on commit dd57170

Please sign in to comment.