创建数据管道时出错-安全组不存在

时间:2019-03-20 14:38:52

标签: amazon-data-pipeline

在创建从RDS复制到S3的数据管道时,我要指定引用vpc的安全组ID。

它错误显示了“服务:AmazonEC2;状态代码:400;错误代码:InvalidGroup.NotFound;”

1 个答案:

答案 0 :(得分:0)

class_id必须在VPC以及安全组中包含目标子网的class Recall(tf.keras.metrics.Recall): def __init__(self, *, class_id, **kwargs): super().__init__(**kwargs) self.class_id= class_id def update_state(self, y_true, y_pred, sample_weight=None): y_true = y_true[:, self.class_id] y_pred = tf.cast(tf.equal( tf.math.argmax(y_pred, axis=-1), self.class_id), dtype=tf.float32) return super().update_state(y_true, y_pred, sample_weight) 。来自文档的示例:

Ec2Resource

https://docs.aws.amazon.com/datapipeline/latest/DeveloperGuide/dp-object-ec2resource.html