Not exported with torchscript
Browse files- vae_config.json +122 -0
- vae_model.safetensors +3 -0
vae_config.json
ADDED
|
@@ -0,0 +1,122 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"model_type": "autoencoder",
|
| 3 |
+
"sample_size": 24576,
|
| 4 |
+
"sample_rate": 44100,
|
| 5 |
+
"audio_channels": 2,
|
| 6 |
+
"model": {
|
| 7 |
+
"encoder": {
|
| 8 |
+
"type": "oobleck",
|
| 9 |
+
"config": {
|
| 10 |
+
"in_channels": 2,
|
| 11 |
+
"channels": 128,
|
| 12 |
+
"c_mults": [1, 2, 4, 8, 16],
|
| 13 |
+
"strides": [2, 4, 4, 8, 8],
|
| 14 |
+
"latent_dim": 128,
|
| 15 |
+
"use_snake": true
|
| 16 |
+
}
|
| 17 |
+
},
|
| 18 |
+
"decoder": {
|
| 19 |
+
"type": "oobleck",
|
| 20 |
+
"config": {
|
| 21 |
+
"out_channels": 2,
|
| 22 |
+
"channels": 128,
|
| 23 |
+
"c_mults": [1, 2, 4, 8, 16],
|
| 24 |
+
"strides": [2, 4, 4, 8, 8],
|
| 25 |
+
"latent_dim": 64,
|
| 26 |
+
"use_snake": true,
|
| 27 |
+
"final_tanh": false
|
| 28 |
+
}
|
| 29 |
+
},
|
| 30 |
+
"bottleneck": {
|
| 31 |
+
"type": "vae"
|
| 32 |
+
},
|
| 33 |
+
"latent_dim": 64,
|
| 34 |
+
"downsampling_ratio": 2048,
|
| 35 |
+
"io_channels": 2
|
| 36 |
+
},
|
| 37 |
+
"training": {
|
| 38 |
+
"learning_rate": 8e-5,
|
| 39 |
+
"warmup_steps": 0,
|
| 40 |
+
"use_ema": true,
|
| 41 |
+
"optimizer_configs": {
|
| 42 |
+
"autoencoder": {
|
| 43 |
+
"optimizer": {
|
| 44 |
+
"type": "AdamW",
|
| 45 |
+
"config": {
|
| 46 |
+
"betas": [0.8, 0.99],
|
| 47 |
+
"lr": 1e-4,
|
| 48 |
+
"weight_decay": 8e-4
|
| 49 |
+
}
|
| 50 |
+
},
|
| 51 |
+
"scheduler": {
|
| 52 |
+
"type": "InverseLR",
|
| 53 |
+
"config": {
|
| 54 |
+
"inv_gamma": 200000,
|
| 55 |
+
"power": 0.5,
|
| 56 |
+
"warmup": 0.999
|
| 57 |
+
}
|
| 58 |
+
}
|
| 59 |
+
},
|
| 60 |
+
"discriminator": {
|
| 61 |
+
"optimizer": {
|
| 62 |
+
"type": "AdamW",
|
| 63 |
+
"config": {
|
| 64 |
+
"betas": [0.8, 0.99],
|
| 65 |
+
"lr": 3e-4,
|
| 66 |
+
"weight_decay": 1e-3
|
| 67 |
+
}
|
| 68 |
+
},
|
| 69 |
+
"scheduler": {
|
| 70 |
+
"type": "InverseLR",
|
| 71 |
+
"config": {
|
| 72 |
+
"inv_gamma": 200000,
|
| 73 |
+
"power": 0.5,
|
| 74 |
+
"warmup": 0.999
|
| 75 |
+
}
|
| 76 |
+
}
|
| 77 |
+
}
|
| 78 |
+
},
|
| 79 |
+
"loss_configs": {
|
| 80 |
+
"discriminator": {
|
| 81 |
+
"type": "encodec",
|
| 82 |
+
"config": {
|
| 83 |
+
"filters": 64,
|
| 84 |
+
"n_ffts": [2048, 1024, 512, 256, 128],
|
| 85 |
+
"hop_lengths": [512, 256, 128, 64, 32],
|
| 86 |
+
"win_lengths": [2048, 1024, 512, 256, 128]
|
| 87 |
+
},
|
| 88 |
+
"weights": {
|
| 89 |
+
"adversarial": 0.1,
|
| 90 |
+
"feature_matching": 5.0
|
| 91 |
+
}
|
| 92 |
+
},
|
| 93 |
+
"spectral": {
|
| 94 |
+
"type": "mrstft",
|
| 95 |
+
"config": {
|
| 96 |
+
"fft_sizes": [2048, 1024, 512, 256, 128, 64, 32],
|
| 97 |
+
"hop_sizes": [512, 256, 128, 64, 32, 16, 8],
|
| 98 |
+
"win_lengths": [2048, 1024, 512, 256, 128, 64, 32],
|
| 99 |
+
"perceptual_weighting": true
|
| 100 |
+
},
|
| 101 |
+
"weights": {
|
| 102 |
+
"mrstft": 1.0
|
| 103 |
+
}
|
| 104 |
+
},
|
| 105 |
+
"time": {
|
| 106 |
+
"type": "l1",
|
| 107 |
+
"weights": {
|
| 108 |
+
"l1": 0.0
|
| 109 |
+
}
|
| 110 |
+
},
|
| 111 |
+
"bottleneck": {
|
| 112 |
+
"type": "kl",
|
| 113 |
+
"weights": {
|
| 114 |
+
"kl": 1e-6
|
| 115 |
+
}
|
| 116 |
+
}
|
| 117 |
+
},
|
| 118 |
+
"demo": {
|
| 119 |
+
"demo_every": 10000
|
| 120 |
+
}
|
| 121 |
+
}
|
| 122 |
+
}
|
vae_model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1a83d2d42e4c7a86de6276183d2ad58dc0dba95785c841f8fbdeb3ef6be45812
|
| 3 |
+
size 624490616
|