forked from TensorStack-AI/TensorStack
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCheckpointConfig.cs
More file actions
38 lines (27 loc) · 1 KB
/
CheckpointConfig.cs
File metadata and controls
38 lines (27 loc) · 1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
using System.Text.Json.Serialization;
namespace TensorStack.Python.Config
{
public sealed record CheckpointConfig
{
[JsonPropertyName("single_file")]
public string SingleFile { get; set; }
[JsonPropertyName("text_encoder")]
public string TextEncoder { get; set; }
[JsonPropertyName("text_encoder_2")]
public string TextEncoder2 { get; set; }
[JsonPropertyName("text_encoder_3")]
public string TextEncoder3 { get; set; }
[JsonPropertyName("transformer")]
public string Transformer { get; set; }
[JsonPropertyName("transformer_2")]
public string Transformer2 { get; set; }
[JsonPropertyName("vae")]
public string Vae { get; set; }
[JsonPropertyName("audio_vae")]
public string AudioVae { get; set; }
[JsonPropertyName("vocoder")]
public string Vocoder { get; set; }
[JsonPropertyName("connectors")]
public string Connectors { get; set; }
}
}