Please use. NET 5,. NET 6, NET 7,. NET 8, NET Framework 4.6, NET Framework 4.61, NET Framework 4.7, NET Framework 4.72, NET Framework 4.8, NET Framework 4.81, and. NET Core 3.1 versions

TransformConfig 类

Configuration classes for Anomalib segmentation model Anomalib分割模型的配置类

Definition

命名空间: DeploySharp.Model
程序集: DeploySharp (在 DeploySharp.dll 中) 版本:0.0.4+6e8a2e904469617cd59619d666c0e272985c0e33
C#
public class TransformConfig
Inheritance
Object    TransformConfig

备注

Maps to JSON transform configuration structure used by Anomalib. 映射到Anomalib使用的JSON转换配置结构。

构造函数

TransformConfig初始化 TransformConfig 类的一个新实例

属性

ClassName Class name identifier (default: "Compose") 类名标识符(默认:"Compose")
Height Target image height in pixels (default: 224) 目标图像高度(像素,默认:224)
Interpolation Interpolation method code (default: 1) 插值方法代码(默认:1)
MaxPixelValue Maximum pixel value scaling factor (default: 255.0) 最大像素值缩放因子(默认:255.0)
Mean Mean values for normalization (default: ImageNet values) 归一化的均值(默认:ImageNet值)
Std Standard deviation values for normalization (default: ImageNet values) 归一化的标准差(默认:ImageNet值)
TransposeMask Whether to transpose masks (default: false) 是否转置掩码(默认:false)
Width Target image width in pixels (default: 224) 目标图像宽度(像素,默认:224)

方法

EqualsDetermines whether the specified object is equal to the current object.
(继承自 Object。)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(继承自 Object。)
GetHashCodeServes as the default hash function.
(继承自 Object。)
GetTypeGets the Type of the current instance.
(继承自 Object。)
MemberwiseCloneCreates a shallow copy of the current Object.
(继承自 Object。)
ToStringReturns a string that represents the current object.
(继承自 Object。)

参见