sxjscience commented on a change in pull request #8958: fix bayesian-methods example URL: https://github.com/apache/incubator-mxnet/pull/8958#discussion_r159006516
########## File path: example/bayesian-methods/data_loader.py ########## @@ -29,8 +29,7 @@ def load_mnist(training_num=50000): 'https://github.com/sxjscience/mxnet/raw/master/example/bayesian-methods/mnist.npz' ) print('Downloading data from %s to %s' % (origin, data_path)) - context = ssl._create_unverified_context() - urllib.request.urlretrieve(origin, data_path, context=context) + urllib.request.urlretrieve(origin, data_path) Review comment: I meet an error such as "Unverified SSL connection" previously when directly using urlretrieve. ---------------------------------------------------------------- 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