Class ModelInfo
모델 정보가 담긴 구조체입니다.
Inherited Members
Namespace: SaigeVision.Net.V2
Assembly: SaigeVision.Net.V2.dll
Syntax
public class ModelInfo
Constructors
| Improve this Doc View SourceModelInfo(SaigeModelInfo)
생성자입니다
Declaration
public ModelInfo(SaigeModelInfo modelInfo)
Parameters
| Type | Name | Description |
|---|---|---|
| SaigeModelInfo | modelInfo | engine으로부터 받은 SaigeModelInfo값 |
Properties
| Improve this Doc View SourceClassInfos
클래스 정보
Declaration
public ClassInfo[] ClassInfos { get; }
Property Value
| Type | Description |
|---|---|
| ClassInfo[] |
ClassIsNG
클래스가 NG 클래스인지 나타냅니다
Declaration
public bool[] ClassIsNG { get; }
Property Value
| Type | Description |
|---|---|
| bool[] |
ClassLabelCount
(CLS, DET, SEG) 클래스별 라벨 개수입니다. ClassInfos 와 동일하게 인덱싱됩니다. 해당 정보 없이 학습된 모델에서는 빈 배열입니다.
Declaration
public int[] ClassLabelCount { get; }
Property Value
| Type | Description |
|---|---|
| int[] |
CropNumOfCols
(DET) 학습 시 사용된 데이터 전처리 모드가 crop_and_resize인 경우,
이미지를 크롭한 후 resize를 적용합니다.
이 때 크롭된 이미지의 열의 개수입니다.
Declaration
public int CropNumOfCols { get; }
Property Value
| Type | Description |
|---|---|
| int |
CropNumOfRows
(DET) 학습 시 사용된 데이터 전처리 모드가 crop_and_resize인 경우,
이미지를 크롭한 후 resize를 적용합니다.
이 때 크롭된 이미지의 행의 개수입니다.
Declaration
public int CropNumOfRows { get; }
Property Value
| Type | Description |
|---|---|
| int |
CropSizeHeight
(SEG) 학습 때 사용된 패치의 높이입니다.
추론 이미지와는 관련 없습니다.
Declaration
public int CropSizeHeight { get; }
Property Value
| Type | Description |
|---|---|
| int |
CropSizeWidth
(SEG) 학습 때 사용된 패치의 너비입니다.
추론 이미지와는 관련 없습니다.
Declaration
public int CropSizeWidth { get; }
Property Value
| Type | Description |
|---|---|
| int |
Description
학습 시 지정한 모델 설명 문구입니다.
Declaration
public string Description { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
DeveloperVersion
모델을 학습할 때 사용한 SaigeVision Developer의 버전입니다.
Declaration
public string DeveloperVersion { get; }
Property Value
| Type | Description |
|---|---|
| string |
ImageResizeHeight
(IAD) 인풋 이미지에 적용되는 리사이즈 높이입니다.
추론 이미지에도 동일하게 적용됩니다.
Declaration
public int ImageResizeHeight { get; }
Property Value
| Type | Description |
|---|---|
| int |
ImageResizeWidth
(IAD) 인풋 이미지에 적용되는 리사이즈 너비입니다.
추론 이미지에도 동일하게 적용됩니다.
Declaration
public int ImageResizeWidth { get; }
Property Value
| Type | Description |
|---|---|
| int |
InputDataProcessingMode
(DET) 학습 시 사용된 데이터 전처리 모드입니다. resize, crop_and_resize 중 하나입니다.
구 버전에서 학습된 모델의 경우에는 resize 또는 crop이 될 수 있습니다.
resize인 경우에는 imageResizeWidth, imageResizeHeight 를 얻어올 수 있습니다.crop_and_resize인 경우에는 여기에 cropNumOfRows, cropNumOfCols 를 얻어올 수 있습니다.
Declaration
public string InputDataProcessingMode { get; }
Property Value
| Type | Description |
|---|---|
| string |
ModuleVersion
모델을 학습할 때 사용한 SaigeVision Developer의 구성 요소 중 딥러닝 모듈의 버전입니다.
Declaration
public string ModuleVersion { get; }
Property Value
| Type | Description |
|---|---|
| string |
NetworkType
어떤 종류의 딥러닝 네트워크를 사용했는지 나타냅니다.
네트워크 타입 중 (v1)으로 끝나는 것들은 SaigeVision 1.x.x 버전에서 사용되던 네트워크 타입을 뜻합니다(네트워크 종류가 동일할 뿐, 모델 파일이 호환되지는 않습니다).
IAD : Fast, Standard, Accurate
SEG : Fast, Standard, Accurate, Shallow (V1), Standard (V1), Deep (V1)
Declaration
public string NetworkType { get; }
Property Value
| Type | Description |
|---|---|
| string |
NumOfIterations
학습을 진행한 반복 수 입니다.
Declaration
public string NumOfIterations { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
NumOfTrainImages
학습에 직접 사용한 이미지 수 입니다.
Declaration
public int NumOfTrainImages { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
NumOfValidationImages
학습과정에서 Validation에 사용한 이미지 수 입니다.
Declaration
public int NumOfValidationImages { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
ResizeFactor
(SEG) 인풋 이미지에 적용되는 리사이즈 비율입니다.
추론 이미지에도 동일하게 적용됩니다.
Declaration
public float ResizeFactor { get; }
Property Value
| Type | Description |
|---|---|
| float |
RoiInfo
ROI 정보입니다.
Declaration
public SaigeRoiInfo RoiInfo { get; }
Property Value
| Type | Description |
|---|---|
| SaigeRoiInfo |
ServerVersion
모델을 학습할 때 사용한 SaigeVision Developer의 구성 요소 중 서버의 버전입니다.
Declaration
public string ServerVersion { get; }
Property Value
| Type | Description |
|---|---|
| string |
TargetImageQuality
(IEN) 학습시 선택한 enhancement 품질입니다. high, ultra-high 중 하나입니다.
Declaration
public string TargetImageQuality { get; }
Property Value
| Type | Description |
|---|---|
| string |
TargetTextShape
(OCR) 학습 시 사용된 목표 글자 형태입니다.
straight, curved 중 하나입니다.
구 버전에서 학습된 모델의 경우에는 내용이 없을 수 있습니다.
Declaration
public string TargetTextShape { get; }
Property Value
| Type | Description |
|---|---|
| string |
TargetTextSize
(OCR) 이미지의 텍스트 박스의 height가 targetTextSize가 되도록 학습 단계에서 resize 배율을 자동으로 찾아줍니다.
Declaration
public int TargetTextSize { get; }
Property Value
| Type | Description |
|---|---|
| int |
TrainingTimeCompleted
학습이 종료된 시각을 나타내는 unix timestamp 값입니다.
Declaration
public DateTime TrainingTimeCompleted { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTime |
TrainingTimeElapsed
학습을 완료하는데 걸린 시간을 초로 나타낸 값입니다.
Declaration
public TimeSpan TrainingTimeElapsed { get; set; }
Property Value
| Type | Description |
|---|---|
| TimeSpan |
TrainingTimeStarted
학습을 시작한 시각을 나타내는 unix timestamp 값입니다.
Declaration
public DateTime TrainingTimeStarted { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTime |
UsedGpuName
학습 시 사용한 GPU의 이름입니다.
Declaration
public string UsedGpuName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ValidationRoc
(CLS, DET, SEG) 클래스별 validation ROC/AUROC 정보입니다. 학습 시 validation 단계에서 산출됩니다. 해당 지표 없이 학습된 모델에서는 빈 배열입니다. 지표가 없는 클래스(예: SEG의 OK 클래스)는 제외되므로 ClassIndex 가 연속적이지 않을 수 있습니다.
Declaration
public ClassRoc[] ValidationRoc { get; }
Property Value
| Type | Description |
|---|---|
| ClassRoc[] |