I'm new to AWS platform. I am following up a data science tutorial on AWS platform to build a classifier and deploy. However, while trying to import the machine learning algorithm container (XGBOOST), the following code doesn't seem to work:
from sagemaker.amazon.amazon_estimator import get_image_uri
container = get_image_uri(boto3.Session().region_name, 'xgboost')
I get the following error saying the file doesn't work:
FileNotFoundError: [Errno 2] No such file or directory: '/opt/conda/lib/python3.7/site-packages/sagemaker/image_uri_config/xgboost.json'
I also used a 'linear-learner' in place of the 'xgboost' but I still got the same error. So, is there something I'm missing?