Update README.md
Browse files
README.md
CHANGED
|
@@ -11,7 +11,20 @@ tags:
|
|
| 11 |
---
|
| 12 |
Weights for mmDiT and VAE from [Diffusion Transformer](https://github.com/someonecantcode/diffusion-transformer).
|
| 13 |
|
| 14 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 15 |
```python
|
| 16 |
@dataclass
|
| 17 |
class TrainConfig:
|
|
|
|
| 11 |
---
|
| 12 |
Weights for mmDiT and VAE from [Diffusion Transformer](https://github.com/someonecantcode/diffusion-transformer).
|
| 13 |
|
| 14 |
+
Weights structure:
|
| 15 |
+
```python
|
| 16 |
+
flow_match_checkpoint = {
|
| 17 |
+
'model': raw_model.state_dict(),
|
| 18 |
+
'optimizer': optimizer.state_dict(),
|
| 19 |
+
'ema': ema.state_dict,
|
| 20 |
+
'step': step
|
| 21 |
+
}
|
| 22 |
+
|
| 23 |
+
vae_checkpoint = vae.state_dict(),
|
| 24 |
+
```
|
| 25 |
+
|
| 26 |
+
|
| 27 |
+
Hyperparameters used for model.
|
| 28 |
```python
|
| 29 |
@dataclass
|
| 30 |
class TrainConfig:
|