aws / amazon-sagemaker-examples

Example 📓 Jupyter notebooks that demonstrate how to build, train, and deploy machine learning models using 🧠 Amazon SageMaker.
https://sagemaker-examples.readthedocs.io
Apache License 2.0
10.05k stars 6.75k forks source link

Image-classification-fulltraining-highlevel.ipynb failed CI #2408

Closed hongshanli23 closed 3 years ago

hongshanli23 commented 3 years ago

Link to the notebook: https://github.com/aws/amazon-sagemaker-examples/blob/master/introduction_to_amazon_algorithms/imageclassification_caltech/Image-classification-fulltraining-highlevel.ipynb

Error:


Exception encountered at "In [9]":

AttributeError Traceback (most recent call last)

in 1 optimized_ic = ic ----> 2 if ic.create_model().check_neo_region(boto3.Session().region_name) is False: 3 print('Neo is not currently supported in', boto3.Session().region_name) 4 else: 5 output_path = '/'.join(ic.output_path.split('/')[:-1]) AttributeError: 'Model' object has no attribute 'check_neo_region'
jkroll-aws commented 3 years ago

This check_neo_region() function is deprecated and can be removed. Neo has launched in almost all regions.

OneManArmy93 commented 3 years ago

hello did you find a fix for this? Thank you

jkroll-aws commented 3 years ago

@OneManArmy93 Working on a fix. Please see the linked PR. Still debugging the final prediction step.

jkroll-aws commented 3 years ago

@OneManArmy93 FYI this is fixed now.