Update README.md
Browse files
README.md
CHANGED
@@ -5,11 +5,30 @@ library_name: diffusers
|
|
5 |
# Model Card for Model ID
|
6 |
|
7 |
<!-- Provide a quick summary of what the model is/does. -->
|
8 |
-
|
9 |
|
10 |
|
11 |
## Model Details
|
12 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
13 |
### Model Description
|
14 |
|
15 |
<!-- Provide a longer summary of what this model is. -->
|
|
|
5 |
# Model Card for Model ID
|
6 |
|
7 |
<!-- Provide a quick summary of what the model is/does. -->
|
8 |
+
House plan sketches
|
9 |
|
10 |
|
11 |
## Model Details
|
12 |
|
13 |
+
class TrainingConfig:
|
14 |
+
image_size = 192 # the generated image resolution
|
15 |
+
train_batch_size = 8
|
16 |
+
eval_batch_size = 8 # how many images to sample during evaluation
|
17 |
+
num_epochs = 200
|
18 |
+
gradient_accumulation_steps = 1
|
19 |
+
learning_rate = 1e-4
|
20 |
+
lr_warmup_steps = 500
|
21 |
+
save_image_epochs = 10
|
22 |
+
save_model_epochs = 30
|
23 |
+
mixed_precision = 'fp16' # `no` for float32, `fp16` for automatic mixed precision
|
24 |
+
output_dir = 'ddpm-butterflies-128' # the model namy locally and on the HF Hub
|
25 |
+
push_to_hub = False # whether to upload the saved model to the HF Hub
|
26 |
+
hub_private_repo = False
|
27 |
+
overwrite_output_dir = False # overwrite the old model when re-running the notebook
|
28 |
+
seed = 0
|
29 |
+
|
30 |
+
config = TrainingConfig()
|
31 |
+
|
32 |
### Model Description
|
33 |
|
34 |
<!-- Provide a longer summary of what this model is. -->
|