You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by GitBox <gi...@apache.org> on 2018/11/05 17:19:13 UTC

[GitHub] ThomasDelteil commented on a change in pull request #13099: [MXNET-1194] Reenable nightly tutorials tests for Python2 and Python3

ThomasDelteil 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_r230837285
 
 

 ##########
 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:
   When running inside the docker container the tutorial appears to sometimes hang when using multiple workers.

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services