Customer Error: Additional hyperparameters are not allowed - Image classification training- Sagemaker

Customer Error: Additional hyperparameters are not allowed - Image classification training- Sagemaker

我正在学习使用 Amazon SageMaker 进行图像分类。我试图按照他们的学习演示 图像分类迁移学习演示 (Image-classification-transfer-learning-highlevel.ipynb)

我起身开始训练。下面执行。

ic.fit(inputs=data_channels, logs=True)

设置演示中给出的超参数

ic.set_hyperparameters(num_layers=18,
                             use_pretrained_model=1,
                             image_shape = "3,224,224",
                             num_classes=257,
                             num_training_samples=15420,
                             mini_batch_size=128,
                             epochs=1,
                             learning_rate=0.01,
                             precission_dtype='float32')

收到客户端错误

ERROR 140291262150464] Customer Error: Additional hyperparameters are not allowed (u'precission_dtype' was unexpected) (caused by ValidationError)

Caused by: Additional properties are not allowed (u'precission_dtype' was unexpected)

有谁知道如何克服这个问题?我也将此报告给 aws 支持。在此处发布以进行共享并获得修复。谢谢!

假设您指的是 https://github.com/awslabs/amazon-sagemaker-examples/blob/master/introduction_to_amazon_algorithms/imageclassification_caltech/Image-classification-transfer-learning-highlevel.ipynb - 您打错了,是 precision_dtype,而不是 precission_dtype