Ludwig 如何对图像进行编码
How does Ludwig encode images
我想了解 Ludwig 如何对图像进行编码。它 运行 通过预训练模型的图像没有 运行 损失还是 运行 损失?如果是这样,对于大型特征集,运行 是什么类型的损失?
可以找到所有关于图像预处理和编码的文档here。
总结:
Currently there are two encoders supported for images: Convolutional Stack Encoder and ResNet encoder which can be set by setting encoder parameter to stacked_cnn or resnet in the input feature dictionary in the model definition (stacked_cnn is the default one).
上述每个编码器都有可配置的超参数。它不会 运行 通过预先训练的模型来训练它们,因为那样会破坏目的 - 您正在使用自己的数据训练自己的模型。
我想了解 Ludwig 如何对图像进行编码。它 运行 通过预训练模型的图像没有 运行 损失还是 运行 损失?如果是这样,对于大型特征集,运行 是什么类型的损失?
可以找到所有关于图像预处理和编码的文档here。
总结:
Currently there are two encoders supported for images: Convolutional Stack Encoder and ResNet encoder which can be set by setting encoder parameter to stacked_cnn or resnet in the input feature dictionary in the model definition (stacked_cnn is the default one).
上述每个编码器都有可配置的超参数。它不会 运行 通过预先训练的模型来训练它们,因为那样会破坏目的 - 您正在使用自己的数据训练自己的模型。