Spaces:
Paused
Paused
Update inference_configs/inference.yaml
Browse files- inference_configs/inference.yaml +18 -15
inference_configs/inference.yaml
CHANGED
@@ -1,15 +1,18 @@
|
|
|
|
1 |
# Configuração do Modelo
|
2 |
model_name: "flux-dev"
|
3 |
ckpt_dir: ./pretrained_weights/ByteMorpher/dit.safetensors
|
4 |
|
5 |
# --- Configurações de Condicionamento de Imagem ---
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
|
|
|
|
11 |
|
12 |
-
# --- Configurações de IP-Adapter e LoRA (Desativados
|
13 |
use_ip: false
|
14 |
ip_local_path: null
|
15 |
ip_repo_id: null
|
@@ -18,19 +21,19 @@ ip_scale: 1.0
|
|
18 |
use_lora: false
|
19 |
rank: 16
|
20 |
|
21 |
-
# --- Parâmetros de Amostragem (
|
22 |
-
sample_width: 1024
|
23 |
-
sample_height: 1024
|
24 |
-
sample_steps: 50
|
25 |
-
cfg_scale: 4.0
|
26 |
-
seed: -1
|
27 |
-
mixed_precision: "bf16"
|
28 |
|
29 |
-
# --- Configuração de Dados e Logging
|
30 |
data_config:
|
31 |
eval_batch_size: 8
|
32 |
num_workers: 4
|
33 |
-
img_size: 1024
|
34 |
img_dir: output_bench/
|
35 |
grayscale_editing: false
|
36 |
zoom_camera: false
|
|
|
1 |
+
|
2 |
# Configuração do Modelo
|
3 |
model_name: "flux-dev"
|
4 |
ckpt_dir: ./pretrained_weights/ByteMorpher/dit.safetensors
|
5 |
|
6 |
# --- Configurações de Condicionamento de Imagem ---
|
7 |
+
use_share_weight_referencenet: true
|
8 |
+
use_spatial_condition: false
|
9 |
+
share_position_embedding: true
|
10 |
+
|
11 |
+
# --- NOVO: Especifique qual parte da rede usar como referência ---
|
12 |
+
double_block_refnet: true # ATIVADO: Usa os blocos iniciais (double stream).
|
13 |
+
single_block_refnet: false # DESATIVADO: Não usa os blocos finais (single stream).
|
14 |
|
15 |
+
# --- Configurações de IP-Adapter e LoRA (Desativados) ---
|
16 |
use_ip: false
|
17 |
ip_local_path: null
|
18 |
ip_repo_id: null
|
|
|
21 |
use_lora: false
|
22 |
rank: 16
|
23 |
|
24 |
+
# --- Parâmetros de Amostragem (Alta Qualidade) ---
|
25 |
+
sample_width: 1024
|
26 |
+
sample_height: 1024
|
27 |
+
sample_steps: 50
|
28 |
+
cfg_scale: 4.0
|
29 |
+
seed: -1
|
30 |
+
mixed_precision: "bf16"
|
31 |
|
32 |
+
# --- Configuração de Dados e Logging ---
|
33 |
data_config:
|
34 |
eval_batch_size: 8
|
35 |
num_workers: 4
|
36 |
+
img_size: 1024
|
37 |
img_dir: output_bench/
|
38 |
grayscale_editing: false
|
39 |
zoom_camera: false
|