Skip to content

Commit 149033c

Browse files
committed
chore: Fix dataloader in finetune_qat script
Signed-off-by: Anurag Dixit <[email protected]>
1 parent b6b690c commit 149033c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/int8/training/vgg16/finetune_qat.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ def main():
261261
state = ckpt["state"]
262262

263263
data = iter(training_dataloader)
264-
images, _ = data.next()
264+
images, _ = next(data)
265265

266266
writer.add_graph(model, images.cuda())
267267
writer.close()

0 commit comments

Comments
 (0)