Upload folder using huggingface_hub
Browse files- README.md +83 -0
- ThenAndNow_v1.safetensors +3 -0
- ThenAndNow_v1_000001500.safetensors +3 -0
- ThenAndNow_v1_000002000.safetensors +3 -0
- ThenAndNow_v1_000002500.safetensors +3 -0
- config.yaml +108 -0
- samples/1730104550852__000000000_0.jpg +0 -0
- samples/1730104575415__000000000_1.jpg +0 -0
- samples/1730104599972__000000000_2.jpg +0 -0
- samples/1730104624533__000000000_3.jpg +0 -0
- samples/1730104649085__000000000_4.jpg +0 -0
- samples/1730104673634__000000000_5.jpg +0 -0
- samples/1730105554776__000000500_0.jpg +0 -0
- samples/1730105579364__000000500_1.jpg +0 -0
- samples/1730105603959__000000500_2.jpg +0 -0
- samples/1730105628546__000000500_3.jpg +0 -0
- samples/1730105653138__000000500_4.jpg +0 -0
- samples/1730105677730__000000500_5.jpg +0 -0
- samples/1730106555637__000001000_0.jpg +0 -0
- samples/1730106580249__000001000_1.jpg +0 -0
- samples/1730106604858__000001000_2.jpg +0 -0
- samples/1730106629472__000001000_3.jpg +0 -0
- samples/1730106654072__000001000_4.jpg +0 -0
- samples/1730106678671__000001000_5.jpg +0 -0
- samples/1730107557066__000001500_0.jpg +0 -0
- samples/1730107581685__000001500_1.jpg +0 -0
- samples/1730107606301__000001500_2.jpg +0 -0
- samples/1730107630909__000001500_3.jpg +0 -0
- samples/1730107655567__000001500_4.jpg +0 -0
- samples/1730107680226__000001500_5.jpg +0 -0
- samples/1730108556681__000002000_0.jpg +0 -0
- samples/1730108581295__000002000_1.jpg +0 -0
- samples/1730108605916__000002000_2.jpg +0 -0
- samples/1730108630531__000002000_3.jpg +0 -0
- samples/1730108655145__000002000_4.jpg +0 -0
- samples/1730108679763__000002000_5.jpg +0 -0
- samples/1730109552955__000002500_0.jpg +0 -0
- samples/1730109577569__000002500_1.jpg +0 -0
- samples/1730109602613__000002500_2.jpg +0 -0
- samples/1730109627235__000002500_3.jpg +0 -0
- samples/1730109651849__000002500_4.jpg +0 -0
- samples/1730109676459__000002500_5.jpg +0 -0
- samples/1730110547309__000003000_0.jpg +0 -0
- samples/1730110571926__000003000_1.jpg +0 -0
- samples/1730110596546__000003000_2.jpg +0 -0
- samples/1730110621161__000003000_3.jpg +0 -0
- samples/1730110645767__000003000_4.jpg +0 -0
- samples/1730110670385__000003000_5.jpg +0 -0
README.md
ADDED
@@ -0,0 +1,83 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
tags:
|
3 |
+
- diffusers
|
4 |
+
- text-to-image
|
5 |
+
- template:sd-lora
|
6 |
+
- base_model:black-forest-labs/FLUX.1-dev
|
7 |
+
- base_model:finetune:black-forest-labs/FLUX.1-dev
|
8 |
+
- license:other
|
9 |
+
- region:us
|
10 |
+
- flux
|
11 |
+
- lora
|
12 |
+
widget:
|
13 |
+
- output:
|
14 |
+
url: samples/1730110547309__000003000_0.jpg
|
15 |
+
text: 'Then-and-now: A black-and-white illustration of a wounded centaur, a mythical
|
16 |
+
creature from ancient lore, is held up in front of a modern park scene, aligned
|
17 |
+
with a wooded area in the background. In the foreground, the centaur is depicted
|
18 |
+
limping, arrows embedded in its side, with a look of pain on its face. The
|
19 |
+
background, in color, shows the same spot now peaceful and green, with people
|
20 |
+
jogging and children playing, emphasizing the transformation from mythical
|
21 |
+
battles to everyday tranquility'
|
22 |
+
- output:
|
23 |
+
url: samples/1730110571926__000003000_1.jpg
|
24 |
+
text: 'Then-and-now: A black-and-white photograph of a coiled snake resting among
|
25 |
+
the ruins of ancient Athens is positioned in front of the modern Acropolis
|
26 |
+
site, aligned with broken columns and stone pathways. In the foreground, the
|
27 |
+
snake, symbolizing wisdom and mystery, is nestled between fallen pillars under
|
28 |
+
the ancient sun. The background, in color, shows tourists walking through
|
29 |
+
the restored ruins, with informational signs and fencing, highlighting the
|
30 |
+
shift from an untamed, mythical past to a preserved historical landmark.'
|
31 |
+
- output:
|
32 |
+
url: samples/1730110596546__000003000_2.jpg
|
33 |
+
text: "Then-and-now: A black-and-white photograph of a silver sword, rumored to\
|
34 |
+
\ slay vampires, is held up against the backdrop of a modern museum display,\
|
35 |
+
\ aligned with the exhibit\u2019s lighting and structure. In the foreground,\
|
36 |
+
\ the sword gleams in monochrome, with intricate engravings and an aura of\
|
37 |
+
\ danger. The background, in color, shows the museum\u2019s clean, sterile\
|
38 |
+
\ setup, with other artifacts under glass, contrasting the legend and mystique\
|
39 |
+
\ of the weapon with its contemporary preservation as a piece of history."
|
40 |
+
- output:
|
41 |
+
url: samples/1730110621161__000003000_3.jpg
|
42 |
+
text: 'Then-and-now: A black-and-white photograph is placed over a color landscape,
|
43 |
+
aligned with the remnants of old concrete structures, blending past with present
|
44 |
+
in a seamless, gradient-like transition. In the foreground, the black-and-white
|
45 |
+
image shows an abandoned fortification with a gravel road winding through
|
46 |
+
it. The background, in color, reveals a grassy field and sky, contrasting
|
47 |
+
the worn, historical architecture with the natural, serene setting that surrounds
|
48 |
+
it today.'
|
49 |
+
- output:
|
50 |
+
url: samples/1730110645767__000003000_4.jpg
|
51 |
+
text: 'Then-and-now: A black-and-white archival photograph is seamlessly overlaid
|
52 |
+
in the foreground, aligning with the columns and lanterns of a grand building,
|
53 |
+
creating a stark, hard border between past and present. In the foreground
|
54 |
+
image, people in formal attire walk past a large dog statue in black and white,
|
55 |
+
evoking an earlier era. The background, in color, shows the same building
|
56 |
+
with contemporary elements like parked cars and updated windows, marking the
|
57 |
+
passage of time.'
|
58 |
+
- output:
|
59 |
+
url: samples/1730110670385__000003000_5.jpg
|
60 |
+
text: 'Then-and-now: a sepia picture of a scary clown from early 20th century
|
61 |
+
is held up over an image of a modern day circus, the trees and tents perfectly
|
62 |
+
aligned. In the foreground a scary sepia clown is making a scary face. The
|
63 |
+
background, in color, shows a quaint scene of a lovely modern day circus with
|
64 |
+
grass and kids playing.'
|
65 |
+
base_model: black-forest-labs/FLUX.1-dev
|
66 |
+
trigger: Then-and-now
|
67 |
+
instance_prompt: Then-and-now
|
68 |
+
license: other
|
69 |
+
license_name: flux-1-dev-non-commercial-license
|
70 |
+
license_link: https://huggingface.co/black-forest-labs/FLUX.1-dev/blob/main/LICENSE.md
|
71 |
+
---
|
72 |
+
# ThenAndNow_v1
|
73 |
+
Model trained with [AI Toolkit by Ostris](https://github.com/ostris/ai-toolkit) under the [Glif Loradex program](https://huggingface.co/glif-loradex-trainer) by [Glif](https://glif.app) user `an303042`.
|
74 |
+
<Gallery />
|
75 |
+
## Trigger words
|
76 |
+
You should use `Then-and-now` to trigger the image generation.
|
77 |
+
## Download model
|
78 |
+
Weights for this model are available in Safetensors format.
|
79 |
+
[Download](/glif-loradex-trainer/an303042_ThenAndNow_v1/tree/main) them in the Files & versions tab.
|
80 |
+
|
81 |
+
## License
|
82 |
+
This model is licensed under the [flux-1-dev-non-commercial-license](https://huggingface.co/black-forest-labs/FLUX.1-dev/blob/main/LICENSE.md).
|
83 |
+
|
ThenAndNow_v1.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b07c1636d21456ddb0f8d81903319be402b3cf63b5f6b8126de11cabf8e313cf
|
3 |
+
size 451202952
|
ThenAndNow_v1_000001500.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:abc97afb227231cad5674f8da978b4a96b4cc84a7a3f1c9f679d0dd2d21d7312
|
3 |
+
size 451202952
|
ThenAndNow_v1_000002000.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:de4c7630a12f62e702d2103fe385f2d4670937170d49480e80d645a1881250c0
|
3 |
+
size 451202952
|
ThenAndNow_v1_000002500.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ee31df72dab291ba5c02217f552a2e8c2c76c1ca8b84d890281c90a236b26796
|
3 |
+
size 451202952
|
config.yaml
ADDED
@@ -0,0 +1,108 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
config:
|
2 |
+
name: ThenAndNow_v1
|
3 |
+
process:
|
4 |
+
- datasets:
|
5 |
+
- cache_latents_to_disk: true
|
6 |
+
caption_dropout_rate: 0.1
|
7 |
+
caption_ext: txt
|
8 |
+
folder_path: /root/lorahub/ThenAndNow_v1/dataset
|
9 |
+
resolution:
|
10 |
+
- 512
|
11 |
+
- 768
|
12 |
+
- 1024
|
13 |
+
shuffle_tokens: false
|
14 |
+
token_dropout_rate: 0.01
|
15 |
+
device: cuda:0
|
16 |
+
model:
|
17 |
+
is_flux: true
|
18 |
+
name_or_path: black-forest-labs/FLUX.1-dev
|
19 |
+
quantize: true
|
20 |
+
text_encoder_bits: 8
|
21 |
+
network:
|
22 |
+
linear: 42
|
23 |
+
linear_alpha: 42
|
24 |
+
transformer_only: true
|
25 |
+
type: lora
|
26 |
+
performance_log_every: 500
|
27 |
+
sample:
|
28 |
+
guidance_scale: 3.5
|
29 |
+
height: 1024
|
30 |
+
neg: ''
|
31 |
+
prompts:
|
32 |
+
- 'Then-and-now: A black-and-white illustration of a wounded centaur, a mythical
|
33 |
+
creature from ancient lore, is held up in front of a modern park scene, aligned
|
34 |
+
with a wooded area in the background. In the foreground, the centaur is depicted
|
35 |
+
limping, arrows embedded in its side, with a look of pain on its face. The
|
36 |
+
background, in color, shows the same spot now peaceful and green, with people
|
37 |
+
jogging and children playing, emphasizing the transformation from mythical
|
38 |
+
battles to everyday tranquility'
|
39 |
+
- 'Then-and-now: A black-and-white photograph of a coiled snake resting among
|
40 |
+
the ruins of ancient Athens is positioned in front of the modern Acropolis
|
41 |
+
site, aligned with broken columns and stone pathways. In the foreground, the
|
42 |
+
snake, symbolizing wisdom and mystery, is nestled between fallen pillars under
|
43 |
+
the ancient sun. The background, in color, shows tourists walking through
|
44 |
+
the restored ruins, with informational signs and fencing, highlighting the
|
45 |
+
shift from an untamed, mythical past to a preserved historical landmark.'
|
46 |
+
- "Then-and-now: A black-and-white photograph of a silver sword, rumored to\
|
47 |
+
\ slay vampires, is held up against the backdrop of a modern museum display,\
|
48 |
+
\ aligned with the exhibit\u2019s lighting and structure. In the foreground,\
|
49 |
+
\ the sword gleams in monochrome, with intricate engravings and an aura of\
|
50 |
+
\ danger. The background, in color, shows the museum\u2019s clean, sterile\
|
51 |
+
\ setup, with other artifacts under glass, contrasting the legend and mystique\
|
52 |
+
\ of the weapon with its contemporary preservation as a piece of history."
|
53 |
+
- 'Then-and-now: A black-and-white photograph is placed over a color landscape,
|
54 |
+
aligned with the remnants of old concrete structures, blending past with present
|
55 |
+
in a seamless, gradient-like transition. In the foreground, the black-and-white
|
56 |
+
image shows an abandoned fortification with a gravel road winding through
|
57 |
+
it. The background, in color, reveals a grassy field and sky, contrasting
|
58 |
+
the worn, historical architecture with the natural, serene setting that surrounds
|
59 |
+
it today.'
|
60 |
+
- 'Then-and-now: A black-and-white archival photograph is seamlessly overlaid
|
61 |
+
in the foreground, aligning with the columns and lanterns of a grand building,
|
62 |
+
creating a stark, hard border between past and present. In the foreground
|
63 |
+
image, people in formal attire walk past a large dog statue in black and white,
|
64 |
+
evoking an earlier era. The background, in color, shows the same building
|
65 |
+
with contemporary elements like parked cars and updated windows, marking the
|
66 |
+
passage of time.'
|
67 |
+
- 'Then-and-now: a sepia picture of a scary clown from early 20th century is
|
68 |
+
held up over an image of a modern day circus, the trees and tents perfectly
|
69 |
+
aligned. In the foreground a scary sepia clown is making a scary face. The
|
70 |
+
background, in color, shows a quaint scene of a lovely modern day circus with
|
71 |
+
grass and kids playing.'
|
72 |
+
sample_every: 500
|
73 |
+
sample_steps: 25
|
74 |
+
sampler: flowmatch
|
75 |
+
seed: 42
|
76 |
+
walk_seed: true
|
77 |
+
width: 1024
|
78 |
+
save:
|
79 |
+
dtype: float16
|
80 |
+
max_step_saves_to_keep: 3
|
81 |
+
save_every: 500
|
82 |
+
save_format: diffusers
|
83 |
+
train:
|
84 |
+
batch_size: 1
|
85 |
+
dtype: bf16
|
86 |
+
ema_config:
|
87 |
+
ema_decay: 0.99
|
88 |
+
use_ema: true
|
89 |
+
gradient_accumulation_steps: 1
|
90 |
+
gradient_checkpointing: true
|
91 |
+
linear_timesteps: true
|
92 |
+
loss_type: mse
|
93 |
+
lr: 0.0002
|
94 |
+
noise_scheduler: flowmatch
|
95 |
+
optimizer: adamw8bit
|
96 |
+
reg_weight: 1.0
|
97 |
+
steps: 3000
|
98 |
+
target_noise_multiplier: 1.0
|
99 |
+
train_text_encoder: false
|
100 |
+
train_unet: true
|
101 |
+
training_folder: /root/lorahub
|
102 |
+
trigger_word: Then-and-now
|
103 |
+
type: sd_trainer
|
104 |
+
job: extension
|
105 |
+
meta:
|
106 |
+
description: by @an303042, The 'then-and-now' style juxtaposes a (usually) black-and-white
|
107 |
+
historical foreground image with a (usually) color photograph of a modern setting,
|
108 |
+
creating a seamless blend that contrasts past history with present-day reality.
|
samples/1730104550852__000000000_0.jpg
ADDED
samples/1730104575415__000000000_1.jpg
ADDED
samples/1730104599972__000000000_2.jpg
ADDED
samples/1730104624533__000000000_3.jpg
ADDED
samples/1730104649085__000000000_4.jpg
ADDED
samples/1730104673634__000000000_5.jpg
ADDED
samples/1730105554776__000000500_0.jpg
ADDED
samples/1730105579364__000000500_1.jpg
ADDED
samples/1730105603959__000000500_2.jpg
ADDED
samples/1730105628546__000000500_3.jpg
ADDED
samples/1730105653138__000000500_4.jpg
ADDED
samples/1730105677730__000000500_5.jpg
ADDED
samples/1730106555637__000001000_0.jpg
ADDED
samples/1730106580249__000001000_1.jpg
ADDED
samples/1730106604858__000001000_2.jpg
ADDED
samples/1730106629472__000001000_3.jpg
ADDED
samples/1730106654072__000001000_4.jpg
ADDED
samples/1730106678671__000001000_5.jpg
ADDED
samples/1730107557066__000001500_0.jpg
ADDED
samples/1730107581685__000001500_1.jpg
ADDED
samples/1730107606301__000001500_2.jpg
ADDED
samples/1730107630909__000001500_3.jpg
ADDED
samples/1730107655567__000001500_4.jpg
ADDED
samples/1730107680226__000001500_5.jpg
ADDED
samples/1730108556681__000002000_0.jpg
ADDED
samples/1730108581295__000002000_1.jpg
ADDED
samples/1730108605916__000002000_2.jpg
ADDED
samples/1730108630531__000002000_3.jpg
ADDED
samples/1730108655145__000002000_4.jpg
ADDED
samples/1730108679763__000002000_5.jpg
ADDED
samples/1730109552955__000002500_0.jpg
ADDED
samples/1730109577569__000002500_1.jpg
ADDED
samples/1730109602613__000002500_2.jpg
ADDED
samples/1730109627235__000002500_3.jpg
ADDED
samples/1730109651849__000002500_4.jpg
ADDED
samples/1730109676459__000002500_5.jpg
ADDED
samples/1730110547309__000003000_0.jpg
ADDED
samples/1730110571926__000003000_1.jpg
ADDED
samples/1730110596546__000003000_2.jpg
ADDED
samples/1730110621161__000003000_3.jpg
ADDED
samples/1730110645767__000003000_4.jpg
ADDED
samples/1730110670385__000003000_5.jpg
ADDED