Skip to content

Commit 45a57da

Browse files
authored
Merge pull request #1159 from ptrblck/next_fix
Use py3 next() syntax
2 parents 4694c69 + e9d1f62 commit 45a57da

File tree

1 file changed

+1
-1
lines changed
  • examples/int8/training/vgg16

1 file changed

+1
-1
lines changed

examples/int8/training/vgg16/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ def main():
9393
model = model.cuda()
9494

9595
data = iter(training_dataloader)
96-
images, _ = data.next()
96+
images, _ = next(data)
9797

9898
writer.add_graph(model, images.cuda())
9999
writer.close()

0 commit comments

Comments
 (0)