Add files using upload-large-folder tool
Browse files- config.yaml +99 -0
- flux_lora.safetensors +3 -0
- flux_lora_000027000.safetensors +3 -0
- optimizer.pt +3 -0
config.yaml
ADDED
|
@@ -0,0 +1,99 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
job: extension
|
| 2 |
+
config:
|
| 3 |
+
name: flux_lora
|
| 4 |
+
process:
|
| 5 |
+
- type: sd_trainer
|
| 6 |
+
training_folder: output
|
| 7 |
+
performance_log_every: 1000
|
| 8 |
+
device: cuda:0
|
| 9 |
+
network:
|
| 10 |
+
type: lora
|
| 11 |
+
rank: 32
|
| 12 |
+
linear: 32
|
| 13 |
+
linear_alpha: 64
|
| 14 |
+
save:
|
| 15 |
+
dtype: bf16
|
| 16 |
+
save_every: 1000
|
| 17 |
+
max_step_saves_to_keep: 2
|
| 18 |
+
push_to_hub: false
|
| 19 |
+
datasets:
|
| 20 |
+
- folder_path: /pvc/MIMIC_ARRANGED/Train
|
| 21 |
+
caption_ext: txt
|
| 22 |
+
caption_dropout_rate: 0.05
|
| 23 |
+
shuffle_tokens: false
|
| 24 |
+
cache_latents_to_disk: false
|
| 25 |
+
resolution:
|
| 26 |
+
- 512
|
| 27 |
+
- 768
|
| 28 |
+
- 1024
|
| 29 |
+
train:
|
| 30 |
+
batch_size: 16
|
| 31 |
+
steps: 28505
|
| 32 |
+
gradient_accumulation_steps: 2
|
| 33 |
+
train_unet: true
|
| 34 |
+
train_text_encoder: false
|
| 35 |
+
gradient_checkpointing: true
|
| 36 |
+
noise_scheduler: flowmatch
|
| 37 |
+
optimizer: adamw8bit
|
| 38 |
+
lr: 0.0001
|
| 39 |
+
skip_first_sample: true
|
| 40 |
+
disable_sampling: true
|
| 41 |
+
ema_config:
|
| 42 |
+
use_ema: true
|
| 43 |
+
ema_decay: 0.99
|
| 44 |
+
dtype: bf16
|
| 45 |
+
model:
|
| 46 |
+
name_or_path: black-forest-labs/FLUX.1-dev
|
| 47 |
+
is_flux: true
|
| 48 |
+
quantize: true
|
| 49 |
+
sample:
|
| 50 |
+
sampler: flowmatch
|
| 51 |
+
sample_every: 2000
|
| 52 |
+
width: 1024
|
| 53 |
+
height: 1024
|
| 54 |
+
prompts:
|
| 55 |
+
- Nasogastric tube extends to the mid body of the stomach, before coiling on
|
| 56 |
+
itself so that the tip lies close to the esophagogastric junction. Cardiac
|
| 57 |
+
silhouette is within normal limits and there is no vascular congestion, pleural
|
| 58 |
+
effusion, or acute focal pneumonia.
|
| 59 |
+
- PA and lateral views of the chest provided. Lung volumes are low with mild
|
| 60 |
+
bibasilar atelectasis. No convincing signs of pneumonia or edema. No large
|
| 61 |
+
effusion or pneumothorax is seen. The cardiomediastinal silhouette appears
|
| 62 |
+
normal. There is no free air below the right hemidiaphragm. Fluid level is
|
| 63 |
+
noted within the stomach.
|
| 64 |
+
- PA and lateral views of the chest provided. Lung volumes are low with mild
|
| 65 |
+
bibasilar atelectasis. No convincing signs of pneumonia or edema. No large
|
| 66 |
+
effusion or pneumothorax is seen. The cardiomediastinal silhouette appears
|
| 67 |
+
normal. There is no free air below the right hemidiaphragm. Fluid level is
|
| 68 |
+
noted within the stomach.
|
| 69 |
+
- Heart size top-normal. Lungs grossly clear. No pleural abnormality or evidence
|
| 70 |
+
of central lymph node enlargement.
|
| 71 |
+
- The right costophrenic angle is not imaged. Otherwise, the lungs are clear.
|
| 72 |
+
The heart size is upper limits of normal. Enteric tube courses below the level
|
| 73 |
+
of the diaphragm. There is no pneumothorax.
|
| 74 |
+
- Single frontal view of the chest. NG tube is coiled in the stomach. Right
|
| 75 |
+
PICC in lower SVC is unchanged in position. Cardiac size is normal. Mild bibasilar
|
| 76 |
+
opacities consistent with atelectasis. There is no pneumothorax or pleural
|
| 77 |
+
effusion.
|
| 78 |
+
- AP upright and lateral views of the chest provided. Mild basal atelectasis
|
| 79 |
+
noted. Hilar congestion noted without frank edema. No large effusion or pneumothorax.
|
| 80 |
+
Heart size is normal. Mediastinal contour is unchanged. Bony structures are
|
| 81 |
+
intact. No free air below the right hemidiaphragm.
|
| 82 |
+
- No focal consolidation, pleural effusion, pneumothorax, or pulmonary edema
|
| 83 |
+
is detected. Heart and mediastinal contours are within normal limits. Aortic
|
| 84 |
+
arch calcifications are seen.
|
| 85 |
+
- Lung volumes are slightly low. This accentuates the size of the cardiac silhouette
|
| 86 |
+
which is likely top normal. Mediastinal and hilar contours are unremarkable.
|
| 87 |
+
Pulmonary vasculature is normal. No focal consolidation, pleural effusion
|
| 88 |
+
or pneumothorax is present. There are mild degenerative changes in the thoracic
|
| 89 |
+
spine.
|
| 90 |
+
- The lungs are clear without focal consolidation. No pleural effusion or pneumothorax
|
| 91 |
+
is seen. The cardiac and mediastinal silhouettes are unremarkable.
|
| 92 |
+
neg: ''
|
| 93 |
+
seed: 42
|
| 94 |
+
walk_seed: true
|
| 95 |
+
guidance_scale: 4
|
| 96 |
+
sample_steps: 20
|
| 97 |
+
meta:
|
| 98 |
+
name: flux_lora
|
| 99 |
+
version: '1.0'
|
flux_lora.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4541d8f691e1f87179cc303b73dd5c6a7c7fa49d730680692ccabb31452c33ac
|
| 3 |
+
size 343806368
|
flux_lora_000027000.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e943ee8d6b36dff9cbc1d1f9a1a8ee71a4d49caba945cd09f03a81a1adfc8844
|
| 3 |
+
size 343806368
|
optimizer.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:23bb36b6d9632b4fc734cecd745a0fa3f9690e1e7a79298cf1759e0aa9e82924
|
| 3 |
+
size 350203012
|