zhreshold commented on a change in pull request #17841: Gluon data 2.0: c++
dataloader and built-in image/bbox transforms
URL: https://github.com/apache/incubator-mxnet/pull/17841#discussion_r396140635
##########
File path: python/mxnet/gluon/data/dataloader.py
##########
@@ -572,16 +564,26 @@ def default_batchify_fn(data):
unless you are experiencing timeout and you know it's due to slow data
loading.
Sometimes full `shared_memory` will cause all workers to hang and
causes timeout. In these
cases please reduce `num_workers` or increase system `shared_memory`
size instead.
+ try_nopython : bool, default is None
Review comment:
Here's what I set for `try_nopython`:
- `True` to explicitly check for failure cases, e.g. raise warnings if pure
c++ loading is not available.
- `False`, do not engage c++, always use python
- `None`, check for c++ and enable silently, if not available, fall back to
python silently. This is designed for user who DON'T care
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to 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