Upload folder using huggingface_hub
Browse files- README.md +79 -0
- config.yaml +91 -0
- cozy_house.safetensors +3 -0
- cozy_house_000001000.safetensors +3 -0
- cozy_house_000002000.safetensors +3 -0
- cozy_house_000003000.safetensors +3 -0
- cozy_house_000004000.safetensors +3 -0
- optimizer.pt +3 -0
- samples/.ipynb_checkpoints/1728702263160__000000000_0-checkpoint.jpg +0 -0
- samples/.ipynb_checkpoints/1728702274258__000000000_1-checkpoint.jpg +0 -0
- samples/.ipynb_checkpoints/1728703307222__000000500_0-checkpoint.jpg +0 -0
- samples/.ipynb_checkpoints/1728703318474__000000500_1-checkpoint.jpg +0 -0
- samples/.ipynb_checkpoints/1728704350513__000001000_0-checkpoint.jpg +0 -0
- samples/.ipynb_checkpoints/1728704361768__000001000_1-checkpoint.jpg +0 -0
- samples/.ipynb_checkpoints/1728711236010__000004000_0-checkpoint.jpg +0 -0
- samples/.ipynb_checkpoints/1728712501662__000004500_1-checkpoint.jpg +0 -0
- samples/.ipynb_checkpoints/1728713527336__000005000_0-checkpoint.jpg +0 -0
- samples/.ipynb_checkpoints/1728713538565__000005000_1-checkpoint.jpg +0 -0
- samples/1728702263160__000000000_0.jpg +0 -0
- samples/1728702274258__000000000_1.jpg +0 -0
- samples/1728703307222__000000500_0.jpg +0 -0
- samples/1728703318474__000000500_1.jpg +0 -0
- samples/1728704350513__000001000_0.jpg +0 -0
- samples/1728704361768__000001000_1.jpg +0 -0
- samples/1728705604629__000001500_0.jpg +0 -0
- samples/1728705615964__000001500_1.jpg +0 -0
- samples/1728706648821__000002000_0.jpg +0 -0
- samples/1728706660065__000002000_1.jpg +0 -0
- samples/1728707894027__000002500_0.jpg +0 -0
- samples/1728707905368__000002500_1.jpg +0 -0
- samples/1728708938127__000003000_0.jpg +0 -0
- samples/1728708949462__000003000_1.jpg +0 -0
- samples/1728710194318__000003500_0.jpg +0 -0
- samples/1728710205575__000003500_1.jpg +0 -0
- samples/1728711236010__000004000_0.jpg +0 -0
- samples/1728711247263__000004000_1.jpg +0 -0
- samples/1728712490425__000004500_0.jpg +0 -0
- samples/1728712501662__000004500_1.jpg +0 -0
- samples/1728713527336__000005000_0.jpg +0 -0
- samples/1728713538565__000005000_1.jpg +0 -0
README.md
ADDED
@@ -0,0 +1,79 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
tags:
|
3 |
+
- text-to-image
|
4 |
+
- flux
|
5 |
+
- lora
|
6 |
+
- diffusers
|
7 |
+
- template:sd-lora
|
8 |
+
- ai-toolkit
|
9 |
+
widget:
|
10 |
+
- text: This is a detailed CGI rendering of a cozy, warm, and inviting library room,
|
11 |
+
likely situated in a rustic log cabin. The room is illuminated by warm, amber-toned
|
12 |
+
lighting from various sources, including a fireplace and wall-mounted lamps.
|
13 |
+
The walls are lined with wooden bookshelves, filled with a diverse collection
|
14 |
+
of books, and the floor is covered in a rich, dark wooden planks. In the foreground,
|
15 |
+
there is a small wooden bar with three bar stools, equipped with a few bottles
|
16 |
+
and glasses. In the center of the room, a cozy armchair is positioned near
|
17 |
+
a small wooden table, adorned with a few books and a lit candle. To the right,
|
18 |
+
a wooden staircase with a wrought-iron railing ascends to a lofted area, adding
|
19 |
+
to the room's cozy, cabin-like feel. The background features large floor-to-ceiling
|
20 |
+
windows, which offer a view of a serene night sky filled with stars, enhancing
|
21 |
+
the room's peaceful atmosphere. The windows are framed by wooden shutters.
|
22 |
+
Scattered around the room are various items, including a small rug, a couple
|
23 |
+
of cushions, and a few scattered books, adding to the lived-in, comfortable
|
24 |
+
ambiance. The overall scene exudes warmth, comfort, and a sense of peaceful
|
25 |
+
solitude.
|
26 |
+
output:
|
27 |
+
url: samples/1728713527336__000005000_0.jpg
|
28 |
+
- text: This is a digitally created, hyper-realistic image of a cozy, warmly lit
|
29 |
+
indoor space with a view of an autumnal night landscape through floor-to-ceiling
|
30 |
+
glass windows. The interior features a rustic, wooden aesthetic with a fireplace
|
31 |
+
on the left side, adorned with a stone mantel and a cozy, crackling fire.
|
32 |
+
Above the mantel, there are several framed photographs and a decorative clock.
|
33 |
+
To the right of the fireplace is a built-in wooden bookshelf filled with books
|
34 |
+
and decorative items, including a large, colorful poster of a cityscape. In
|
35 |
+
the foreground, a wooden coffee table holds a lit white candle, a small glass
|
36 |
+
of wine, and a book. A comfortable, cushioned sofa with a colorful, zigzag-patterned
|
37 |
+
throw pillow is positioned in front of the table. Two wicker chairs with cushions
|
38 |
+
and throws are placed in front of the glass windows, providing a serene view
|
39 |
+
of a cityscape with twinkling lights and distant mountains. The room is filled
|
40 |
+
with warm, golden light from the fireplace and the hanging chandelier, which
|
41 |
+
has five yellow-shaded bulbs. Autumnal trees with vibrant orange and yellow
|
42 |
+
leaves frame the windows, enhancing the cozy, autumnal ambiance.
|
43 |
+
output:
|
44 |
+
url: samples/1728713538565__000005000_1.jpg
|
45 |
+
base_model: black-forest-labs/FLUX.1-dev
|
46 |
+
|
47 |
+
license: other
|
48 |
+
license_name: flux-1-dev-non-commercial-license
|
49 |
+
license_link: https://huggingface.co/black-forest-labs/FLUX.1-dev/blob/main/LICENSE.md
|
50 |
+
---
|
51 |
+
|
52 |
+
# cozy_house
|
53 |
+
Model trained with [AI Toolkit by Ostris](https://github.com/ostris/ai-toolkit)
|
54 |
+
<Gallery />
|
55 |
+
|
56 |
+
## Trigger words
|
57 |
+
|
58 |
+
No trigger words defined.
|
59 |
+
|
60 |
+
## Download model and use it with ComfyUI, AUTOMATIC1111, SD.Next, Invoke AI, etc.
|
61 |
+
|
62 |
+
Weights for this model are available in Safetensors format.
|
63 |
+
|
64 |
+
[Download](/None/tree/main) them in the Files & versions tab.
|
65 |
+
|
66 |
+
## Use it with the [🧨 diffusers library](https://github.com/huggingface/diffusers)
|
67 |
+
|
68 |
+
```py
|
69 |
+
from diffusers import AutoPipelineForText2Image
|
70 |
+
import torch
|
71 |
+
|
72 |
+
pipeline = AutoPipelineForText2Image.from_pretrained('black-forest-labs/FLUX.1-dev', torch_dtype=torch.bfloat16).to('cuda')
|
73 |
+
pipeline.load_lora_weights('None', weight_name='cozy_house.safetensors')
|
74 |
+
image = pipeline('This is a detailed CGI rendering of a cozy, warm, and inviting library room, likely situated in a rustic log cabin. The room is illuminated by warm, amber-toned lighting from various sources, including a fireplace and wall-mounted lamps. The walls are lined with wooden bookshelves, filled with a diverse collection of books, and the floor is covered in a rich, dark wooden planks. In the foreground, there is a small wooden bar with three bar stools, equipped with a few bottles and glasses. In the center of the room, a cozy armchair is positioned near a small wooden table, adorned with a few books and a lit candle. To the right, a wooden staircase with a wrought-iron railing ascends to a lofted area, adding to the room's cozy, cabin-like feel. The background features large floor-to-ceiling windows, which offer a view of a serene night sky filled with stars, enhancing the room's peaceful atmosphere. The windows are framed by wooden shutters. Scattered around the room are various items, including a small rug, a couple of cushions, and a few scattered books, adding to the lived-in, comfortable ambiance. The overall scene exudes warmth, comfort, and a sense of peaceful solitude.').images[0]
|
75 |
+
image.save("my_image.png")
|
76 |
+
```
|
77 |
+
|
78 |
+
For more details, including weighting, merging and fusing LoRAs, check the [documentation on loading LoRAs in diffusers](https://huggingface.co/docs/diffusers/main/en/using-diffusers/loading_adapters)
|
79 |
+
|
config.yaml
ADDED
@@ -0,0 +1,91 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
job: extension
|
2 |
+
config:
|
3 |
+
name: cozy_house
|
4 |
+
process:
|
5 |
+
- type: sd_trainer
|
6 |
+
training_folder: output
|
7 |
+
device: cuda:0
|
8 |
+
network:
|
9 |
+
type: lora
|
10 |
+
linear: 32
|
11 |
+
linear_alpha: 32
|
12 |
+
save:
|
13 |
+
dtype: float16
|
14 |
+
save_every: 1000
|
15 |
+
max_step_saves_to_keep: 5
|
16 |
+
push_to_hub: true
|
17 |
+
hf_repo_id: linhqyy/cozy-house
|
18 |
+
hf_private: false
|
19 |
+
datasets:
|
20 |
+
- folder_path: /workspace/cozy_house
|
21 |
+
caption_ext: txt
|
22 |
+
caption_dropout_rate: 0.05
|
23 |
+
shuffle_tokens: false
|
24 |
+
cache_latents_to_disk: true
|
25 |
+
resolution:
|
26 |
+
- 512
|
27 |
+
- 768
|
28 |
+
- 1024
|
29 |
+
train:
|
30 |
+
batch_size: 1
|
31 |
+
steps: 5000
|
32 |
+
gradient_accumulation_steps: 1
|
33 |
+
train_unet: true
|
34 |
+
train_text_encoder: false
|
35 |
+
gradient_checkpointing: true
|
36 |
+
noise_scheduler: flowmatch
|
37 |
+
optimizer: adamw8bit
|
38 |
+
lr: 0.0004
|
39 |
+
ema_config:
|
40 |
+
use_ema: true
|
41 |
+
ema_decay: 0.99
|
42 |
+
dtype: bf16
|
43 |
+
model:
|
44 |
+
name_or_path: black-forest-labs/FLUX.1-dev
|
45 |
+
is_flux: true
|
46 |
+
quantize: false
|
47 |
+
sample:
|
48 |
+
sampler: flowmatch
|
49 |
+
sample_every: 500
|
50 |
+
width: 1344
|
51 |
+
height: 768
|
52 |
+
prompts:
|
53 |
+
- This is a detailed CGI rendering of a cozy, warm, and inviting library room,
|
54 |
+
likely situated in a rustic log cabin. The room is illuminated by warm, amber-toned
|
55 |
+
lighting from various sources, including a fireplace and wall-mounted lamps.
|
56 |
+
The walls are lined with wooden bookshelves, filled with a diverse collection
|
57 |
+
of books, and the floor is covered in a rich, dark wooden planks. In the foreground,
|
58 |
+
there is a small wooden bar with three bar stools, equipped with a few bottles
|
59 |
+
and glasses. In the center of the room, a cozy armchair is positioned near
|
60 |
+
a small wooden table, adorned with a few books and a lit candle. To the right,
|
61 |
+
a wooden staircase with a wrought-iron railing ascends to a lofted area, adding
|
62 |
+
to the room's cozy, cabin-like feel. The background features large floor-to-ceiling
|
63 |
+
windows, which offer a view of a serene night sky filled with stars, enhancing
|
64 |
+
the room's peaceful atmosphere. The windows are framed by wooden shutters.
|
65 |
+
Scattered around the room are various items, including a small rug, a couple
|
66 |
+
of cushions, and a few scattered books, adding to the lived-in, comfortable
|
67 |
+
ambiance. The overall scene exudes warmth, comfort, and a sense of peaceful
|
68 |
+
solitude.
|
69 |
+
- This is a digitally created, hyper-realistic image of a cozy, warmly lit indoor
|
70 |
+
space with a view of an autumnal night landscape through floor-to-ceiling
|
71 |
+
glass windows. The interior features a rustic, wooden aesthetic with a fireplace
|
72 |
+
on the left side, adorned with a stone mantel and a cozy, crackling fire.
|
73 |
+
Above the mantel, there are several framed photographs and a decorative clock.
|
74 |
+
To the right of the fireplace is a built-in wooden bookshelf filled with books
|
75 |
+
and decorative items, including a large, colorful poster of a cityscape. In
|
76 |
+
the foreground, a wooden coffee table holds a lit white candle, a small glass
|
77 |
+
of wine, and a book. A comfortable, cushioned sofa with a colorful, zigzag-patterned
|
78 |
+
throw pillow is positioned in front of the table. Two wicker chairs with cushions
|
79 |
+
and throws are placed in front of the glass windows, providing a serene view
|
80 |
+
of a cityscape with twinkling lights and distant mountains. The room is filled
|
81 |
+
with warm, golden light from the fireplace and the hanging chandelier, which
|
82 |
+
has five yellow-shaded bulbs. Autumnal trees with vibrant orange and yellow
|
83 |
+
leaves frame the windows, enhancing the cozy, autumnal ambiance.
|
84 |
+
neg: ''
|
85 |
+
seed: 42
|
86 |
+
walk_seed: true
|
87 |
+
guidance_scale: 4
|
88 |
+
sample_steps: 20
|
89 |
+
meta:
|
90 |
+
name: human_training
|
91 |
+
version: '1.0'
|
cozy_house.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:25eec3816862764df8bfc72e107f04dff2eeab84ead81416ba5a048e7f1a3cf9
|
3 |
+
size 343805392
|
cozy_house_000001000.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7542ca20d42e18d426d6a3469871c7b03cef6133377ace8415aac7a7cce942b9
|
3 |
+
size 343805392
|
cozy_house_000002000.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:6caed5dcc220cd29c8df2bfa00db8ef839c34df5d0c308590a18ae6c0eac727f
|
3 |
+
size 343805392
|
cozy_house_000003000.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c5f0683d95733be79c57f50342ad4ef446421959ebdb65dcf880b9cc0b818ac3
|
3 |
+
size 343805392
|
cozy_house_000004000.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:22ee1c057c3cbae4b543c0635b5db4a834edec578cdc2f9ec60ded82ee950680
|
3 |
+
size 343805392
|
optimizer.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:708613660961c7e8aa2eb455b9f1cf73b516114f555364d5be1b9f04e2e2b923
|
3 |
+
size 350203012
|
samples/.ipynb_checkpoints/1728702263160__000000000_0-checkpoint.jpg
ADDED
samples/.ipynb_checkpoints/1728702274258__000000000_1-checkpoint.jpg
ADDED
samples/.ipynb_checkpoints/1728703307222__000000500_0-checkpoint.jpg
ADDED
samples/.ipynb_checkpoints/1728703318474__000000500_1-checkpoint.jpg
ADDED
samples/.ipynb_checkpoints/1728704350513__000001000_0-checkpoint.jpg
ADDED
samples/.ipynb_checkpoints/1728704361768__000001000_1-checkpoint.jpg
ADDED
samples/.ipynb_checkpoints/1728711236010__000004000_0-checkpoint.jpg
ADDED
samples/.ipynb_checkpoints/1728712501662__000004500_1-checkpoint.jpg
ADDED
samples/.ipynb_checkpoints/1728713527336__000005000_0-checkpoint.jpg
ADDED
samples/.ipynb_checkpoints/1728713538565__000005000_1-checkpoint.jpg
ADDED
samples/1728702263160__000000000_0.jpg
ADDED
samples/1728702274258__000000000_1.jpg
ADDED
samples/1728703307222__000000500_0.jpg
ADDED
samples/1728703318474__000000500_1.jpg
ADDED
samples/1728704350513__000001000_0.jpg
ADDED
samples/1728704361768__000001000_1.jpg
ADDED
samples/1728705604629__000001500_0.jpg
ADDED
samples/1728705615964__000001500_1.jpg
ADDED
samples/1728706648821__000002000_0.jpg
ADDED
samples/1728706660065__000002000_1.jpg
ADDED
samples/1728707894027__000002500_0.jpg
ADDED
samples/1728707905368__000002500_1.jpg
ADDED
samples/1728708938127__000003000_0.jpg
ADDED
samples/1728708949462__000003000_1.jpg
ADDED
samples/1728710194318__000003500_0.jpg
ADDED
samples/1728710205575__000003500_1.jpg
ADDED
samples/1728711236010__000004000_0.jpg
ADDED
samples/1728711247263__000004000_1.jpg
ADDED
samples/1728712490425__000004500_0.jpg
ADDED
samples/1728712501662__000004500_1.jpg
ADDED
samples/1728713527336__000005000_0.jpg
ADDED
samples/1728713538565__000005000_1.jpg
ADDED