版本260406
This commit is contained in:
@@ -0,0 +1,82 @@
|
||||
namespace OrpaonVision.Core.Training.Contracts.Commands;
|
||||
|
||||
/// <summary>
|
||||
/// 构建模型包命令。
|
||||
/// </summary>
|
||||
public sealed class BuildModelPackageCommand
|
||||
{
|
||||
/// <summary>
|
||||
/// 模型包名称。
|
||||
/// </summary>
|
||||
public string Name { get; init; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// 模型包描述。
|
||||
/// </summary>
|
||||
public string Description { get; init; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// 模型版本ID。
|
||||
/// </summary>
|
||||
public Guid ModelVersionId { get; init; }
|
||||
|
||||
/// <summary>
|
||||
/// 训练任务ID。
|
||||
/// </summary>
|
||||
public Guid TrainingJobId { get; init; }
|
||||
|
||||
/// <summary>
|
||||
/// 机种ID。
|
||||
/// </summary>
|
||||
public Guid ProductTypeId { get; init; }
|
||||
|
||||
/// <summary>
|
||||
/// 模型文件路径。
|
||||
/// </summary>
|
||||
public string ModelFilePath { get; init; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// 标签映射文件路径。
|
||||
/// </summary>
|
||||
public string LabelMappingPath { get; init; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// 配置文件路径。
|
||||
/// </summary>
|
||||
public string ConfigPath { get; init; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// 模型准确率。
|
||||
/// </summary>
|
||||
public decimal Accuracy { get; init; }
|
||||
|
||||
/// <summary>
|
||||
/// 模型召回率。
|
||||
/// </summary>
|
||||
public decimal Recall { get; init; }
|
||||
|
||||
/// <summary>
|
||||
/// 模型F1分数。
|
||||
/// </summary>
|
||||
public decimal F1Score { get; init; }
|
||||
|
||||
/// <summary>
|
||||
/// 验证集损失。
|
||||
/// </summary>
|
||||
public decimal ValidationLoss { get; init; }
|
||||
|
||||
/// <summary>
|
||||
/// 兼容性版本。
|
||||
/// </summary>
|
||||
public string CompatibilityVersion { get; init; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// 依赖项列表(JSON)。
|
||||
/// </summary>
|
||||
public string DependenciesJson { get; init; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// 创建者。
|
||||
/// </summary>
|
||||
public string CreatedBy { get; init; } = string.Empty;
|
||||
}
|
||||
Reference in New Issue
Block a user