Trying to acquire the TensorFlow Object Detection API models in a Azure Notebooks but everything I try gives 403 Forbidden. No problems retrieving the files locally or on AWS.
import six.moves.urllib as urllib
url = 'http://download.tensorflow.org/models/object_detection/rfcn_resnet101_coco_11_06_2017.tar.gz'
opener = urllib.request.URLopener()
opener.retrieve(url)
I tried adding User-Agent data to the header etc but that failed. Tried using wget
and that gave a 403 also. I think the notebooks run in a docker
container so maybe some issue there. Any insight or work-arounds would be much appreciated.