AlekseyCalvin commited on
Commit
b72e3a5
1 Parent(s): 4b0687a

Upload README.md

Browse files
Files changed (1) hide show
  1. README.md +59 -0
README.md ADDED
@@ -0,0 +1,59 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ license: apache-2.0
2
+ language:
3
+ - en
4
+ base_model: black-forest-labs/FLUX.1-schnell
5
+ pipeline_tag: text-to-image
6
+ tags:
7
+ - text-to-image
8
+ - template:sd-lora
9
+ - flux
10
+ - lora
11
+ - image-generation
12
+ - diffusers
13
+
14
+ instance_prompt: HST autochrome photo
15
+ ---
16
+
17
+ # Soonr Flux HST IV: Historic Color for Schnell
18
+
19
+ ![HST style autochrome photo of a dark-haired woman in a reading room](hstiv8.png)
20
+
21
+ ![HST style autochrome photo of a cat](hstiv7.png)
22
+
23
+ An antique color photography LoRA for [FLUX.1-schnell](https://huggingface.co/black-forest-labs/FLUX.1-schnell). Trained by A.C.T. Soon® for 4000 steps on one A100 via Colab Pro, using the dedicated [Schnell Training Notebook by Ostris](https://github.com/ostris/ai-toolkit/blob/main/notebooks/FLUX_1_schnell_LoRA_Training.ipynb) on 135 color photographs taken during the 1900s and 1910s by Sergey Prokudin-Gorsky, who traveled and photographed widely in those years while pioneering and perfecting implementations of an early three-color-composite photography technique.
24
+
25
+ ## Trigger words
26
+ You should use `HST` to trigger the image generation.
27
+
28
+ - base model: [black-forest-labs/FLUX.1-schnell](https://huggingface.co/black-forest-labs/FLUX.1-schnell)
29
+ - assistant lora: [ostris/FLUX.1-schnell-training-adapter](https://huggingface.co/ostris/FLUX.1-schnell-training-adapter)
30
+
31
+ ## Historical Note
32
+
33
+ Prokudin-Gorsky's color photography technique would involve three photo-exposures, either simultaneous or sequential, using specialized color-spectrum filters (basically R.B.G.: red, blue, and green), rendering the same subject/shot onto glass plates covered with light-emulsive mixture. Prokudin-Gorsky's focus on refining the developer and filter quality, in tandem with his incessant and wide-ranging experimentation, and his persistent usage of glass plates (unwieldly and increasingly old-fashioned, but elsewise extra reliable) ultimately led him to produce a color photography oeuvre of much greater fidelity and vividness than achieved by most of his contemporaries.
34
+
35
+ At the same time, the peculiarities of the photographer's method, coupled with his exceptionally hands-on execution thereof, would manifest in a range of idyosyncratic color, light, and motion artifacts common across the resulting prints. Seldom marring the image as a whole, and less grave than the weaknesses of some contemporenously emerging autochrome techniques, the warm color hazes and flares framing many of Prokudin-Gorsky's prints may be seen as a kind of ephemeral signature.
36
+
37
+ Alongside some of the more subtle chromatic, textural, and (in some measure) figural characteristics of his work, these auras have reliably imprinted themselves into this Flux Schnell LoRA, the fourth in our series of historical adapters for Flux.
38
+
39
+
40
+ ## Download model
41
+
42
+ Weights for this model are available in Safetensors format.
43
+
44
+ [Download](/AlekseyCalvin/historic_color_schnell/tree/main) them in the Files & versions tab.
45
+
46
+
47
+ ## Use it with the [🧨 diffusers library](https://github.com/huggingface/diffusers)
48
+
49
+ ```py
50
+ from diffusers import AutoPipelineForText2Image
51
+ import torch
52
+
53
+ pipeline = AutoPipelineForText2Image.from_pretrained('black-forest-labs/FLUX.1-schnell', torch_dtype=torch.bfloat16).to('cuda')
54
+ pipeline.load_lora_weights('AlekseyCalvin/historic_color_schnell', weight_name='HST_Color_Schnell.safetensors')
55
+ image = pipeline('HST style photo of a cat').images[0]
56
+ image.save("my_image.png")
57
+ ```
58
+
59
+ 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)