Spaces:
Paused
Paused
Update inference_configs/inference.yaml
Browse files- inference_configs/inference.yaml +17 -15
inference_configs/inference.yaml
CHANGED
@@ -4,13 +4,15 @@ model_name: "flux-dev"
|
|
4 |
ckpt_dir: ./pretrained_weights/ByteMorpher/dit.safetensors
|
5 |
|
6 |
# --- Configurações de Condicionamento de Imagem ---
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
use_spatial_condition: false # DESATIVADO: Geralmente, usa-se um ou outro método de condicionamento.
|
11 |
-
share_position_embedding: true # MANTIDO: Importante para o alinhamento espacial entre a entrada e a saída.
|
12 |
|
13 |
-
# ---
|
|
|
|
|
|
|
|
|
14 |
use_ip: false
|
15 |
ip_local_path: null
|
16 |
ip_repo_id: null
|
@@ -19,19 +21,19 @@ ip_scale: 1.0
|
|
19 |
use_lora: false
|
20 |
rank: 16
|
21 |
|
22 |
-
# --- Parâmetros de Amostragem (
|
23 |
-
sample_width: 544
|
24 |
-
sample_height: 544
|
25 |
-
sample_steps:
|
26 |
-
cfg_scale:
|
27 |
-
seed: -1
|
28 |
-
mixed_precision: "bf16"
|
29 |
|
30 |
-
# --- Configuração de Dados e Logging
|
31 |
data_config:
|
32 |
eval_batch_size: 8
|
33 |
num_workers: 4
|
34 |
-
img_size: 544
|
35 |
img_dir: output_bench/
|
36 |
grayscale_editing: false
|
37 |
zoom_camera: false
|
|
|
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: 544
|
26 |
+
sample_height: 544
|
27 |
+
sample_steps: 23
|
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: 544
|
37 |
img_dir: output_bench/
|
38 |
grayscale_editing: false
|
39 |
zoom_camera: false
|