Skip to content

Commit c8226c2

Browse files
committed
fix bug
1 parent 5853034 commit c8226c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

example/mpii.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ def validate(val_loader, model, criterion, num_classes, debug=False, flip=True):
229229
target = target.to(device, non_blocking=True)
230230

231231
# compute output
232-
output = model(input)[-1]
232+
output = model(input)
233233
score_map = output[-1].cpu()
234234
if flip:
235235
flip_input = torch.from_numpy(fliplr(input.clone().numpy())).float().to(device)

0 commit comments

Comments
 (0)