cclauss commented on a change in pull request #11671: Some Python 3 fixes in ./example URL: https://github.com/apache/incubator-mxnet/pull/11671#discussion_r202177271
########## File path: example/ssd/dataset/pycocotools/coco.py ########## @@ -55,12 +55,12 @@ # from . import mask as maskUtils import os from collections import defaultdict -import sys -PYTHON_VERSION = sys.version_info[0] -if PYTHON_VERSION == 2: - from urllib import urlretrieve -elif PYTHON_VERSION == 3: +from six.moves import string_types Review comment: This file does not import mxnet. ---------------------------------------------------------------- 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: us...@infra.apache.org With regards, Apache Git Services