Just like this figure shows, the second number is the batch_idx, and the third number is len(trainloader). It prints the result every 10  batch_ids.  Besides,  the code is  print(batch_idx+1) instead of print(batch_idx). However, as we can see, at least 25 (595-570) batch_ids are not printed.  It is quite confusing.