vishaalkapoor commented on a change in pull request #13099: [MXNET-1194] Reenable nightly tutorials tests for Python2 and Python3 URL: https://github.com/apache/incubator-mxnet/pull/13099#discussion_r230576019
########## File path: docs/tutorials/gluon/learning_rate_finder.md ########## @@ -109,7 +108,7 @@ class ContinuousBatchSampler(): sampler = mx.gluon.data.RandomSampler(len(dataset)) batch_sampler = ContinuousBatchSampler(sampler, batch_size=128) -data_loader = mx.gluon.data.DataLoader(dataset, batch_sampler=batch_sampler, num_workers=cpu_count()) +data_loader = mx.gluon.data.DataLoader(dataset, batch_sampler=batch_sampler) Review comment: And if you don't remove parallel data loading, should the num_workers be the max of 1 and cpu_count() - 3 as a rule of thumb? ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
