Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
nocotan committed Nov 9, 2018
1 parent 51db975 commit 7f3faff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion infer.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def main():
testloader = DataLoader(testset, batch_size=args.batch_size,
shuffle=False, num_workers=2)

model = config.model.to(device)
model = config.get_model().to(device)

weights = glob.glob(os.path.join(args.weights_root, "*.pth.tar"))

Expand Down

0 comments on commit 7f3faff

Please sign in to comment.