diff --git a/README.md b/README.md new file mode 100644 index 0000000000000000000000000000000000000000..aa08611d7820305db2bdfa741a392db18f682612 --- /dev/null +++ b/README.md @@ -0,0 +1,56 @@ +--- +tags: +- text-to-image +- flux +- lora +- diffusers +- template:sd-lora +- fluxgym +widget: +- output: + url: sample/another-lora-2_006000_03_20241022135036.png + text: p3rs0n a man walking his dog on a leash, holding a magnifying glass in his + hand. He is wearing a blue shirt and jeans, and has a determined expression + on his face. The dog is a medium-sized breed with a white and brown coat. + The background of the image is a bright blue sky with white clouds. --d 40 +- output: + url: sample/another-lora-2_005500_03_20241022134234.png + text: p3rs0n a man sitting at a desk with a laptop computer in front of him. He + is wearing a cap and there is a plant in the background. --d 40 +- output: + url: sample/another-lora-2_005000_03_20241022133427.png + text: p3rs0n a man and woman sitting at a table with a whiteboard in front of + them. The man is standing and pointing to the whiteboard, while the woman + is sitting on a bench. On the table there are various objects, and the background + is white. --d 40 +- output: + url: sample/another-lora-2_006000_04_20241022135045.png + text: p3rs0n a man sitting at a desk with a laptop computer in front of him. On + the desk there is a monitor, keyboard, and a cup, and in the background there + are papers with text written on them. To the left of the desk is a flower + pot. +- output: + url: sample/another-lora-2_005500_04_20241022134243.png + text: p3rs0n a man and woman shaking hands in front of a white background. The + man is wearing a suit and tie, while the woman is wearing casual clothing. + Both of them have a friendly expression on their faces, suggesting they are + in a professional setting. +base_model: black-forest-labs/FLUX.1-schnell +instance_prompt: p3rs0n +license: apache-2.0 +--- + +# Another Lora - 2 + +A Flux LoRA trained on a local computer with [Fluxgym](https://github.com/cocktailpeanut/fluxgym) + + + +## Trigger words + +You should use `p3rs0n` to trigger the image generation. + +## Download model and use it with ComfyUI, AUTOMATIC1111, SD.Next, Invoke AI, Forge, etc. + +Weights for this model are available in Safetensors format. + diff --git a/another-lora-2-000004.safetensors b/another-lora-2-000004.safetensors new file mode 100644 index 0000000000000000000000000000000000000000..92219879bacb2a307492a013bcb847cc6f3b68ca --- /dev/null +++ b/another-lora-2-000004.safetensors @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4362a6f30eecd5473ce85cc8915e5144e078ef577a1a547720d8fb33908668cd +size 39771720 diff --git a/another-lora-2-000008.safetensors b/another-lora-2-000008.safetensors new file mode 100644 index 0000000000000000000000000000000000000000..75a44db38c20c12793230c7df7185b31a16e43b4 --- /dev/null +++ b/another-lora-2-000008.safetensors @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5d1b8a9476795f67ee2f6347265bcdf916273cb4c3b0ead1fb57c1663ddd3774 +size 39771720 diff --git a/another-lora-2.safetensors b/another-lora-2.safetensors new file mode 100644 index 0000000000000000000000000000000000000000..628ca599e0adfac523ac13ecdbdbae2e10a5b1e5 --- /dev/null +++ b/another-lora-2.safetensors @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9bb60a6eda710bdd017e18e1a7927640c24786c7b5229d24f0e1ec3e101e98c8 +size 39771720 diff --git a/dataset.toml b/dataset.toml new file mode 100644 index 0000000000000000000000000000000000000000..9f356f1750579e04ad68a5fba305d66280d2c280 --- /dev/null +++ b/dataset.toml @@ -0,0 +1,14 @@ +[general] +shuffle_caption = false +caption_extension = '.txt' +keep_tokens = 1 + +[[datasets]] +resolution = 256 +batch_size = 1 +keep_tokens = 1 + + [[datasets.subsets]] + image_dir = '/app/fluxgym/datasets/another-lora-2' + class_tokens = 'p3rs0n' + num_repeats = 20 \ No newline at end of file diff --git a/sample/another-lora-2_000500_00_20241022122105_40.png b/sample/another-lora-2_000500_00_20241022122105_40.png new file mode 100644 index 0000000000000000000000000000000000000000..0ce12431399a7054076b53a9cf0efc71223e8475 Binary files /dev/null and b/sample/another-lora-2_000500_00_20241022122105_40.png differ diff --git a/sample/another-lora-2_000500_01_20241022122114_40.png b/sample/another-lora-2_000500_01_20241022122114_40.png new file mode 100644 index 0000000000000000000000000000000000000000..7544057dc6de4af72882a8d3029923772db8e09c Binary files /dev/null and b/sample/another-lora-2_000500_01_20241022122114_40.png differ diff --git a/sample/another-lora-2_000500_02_20241022122123_40.png b/sample/another-lora-2_000500_02_20241022122123_40.png new file mode 100644 index 0000000000000000000000000000000000000000..a188ca33c117204f303db04fbe1c448b0a5e2fb2 Binary files /dev/null and b/sample/another-lora-2_000500_02_20241022122123_40.png differ diff --git a/sample/another-lora-2_000500_03_20241022122132.png b/sample/another-lora-2_000500_03_20241022122132.png new file mode 100644 index 0000000000000000000000000000000000000000..855864752efbcca948019140883a044dce1c7ad8 Binary files /dev/null and b/sample/another-lora-2_000500_03_20241022122132.png differ diff --git a/sample/another-lora-2_000500_04_20241022122141.png b/sample/another-lora-2_000500_04_20241022122141.png new file mode 100644 index 0000000000000000000000000000000000000000..1eac38ea85047f2ec3a4de7102abf03d15c6d759 Binary files /dev/null and b/sample/another-lora-2_000500_04_20241022122141.png differ diff --git a/sample/another-lora-2_001000_00_20241022122906_40.png b/sample/another-lora-2_001000_00_20241022122906_40.png new file mode 100644 index 0000000000000000000000000000000000000000..33b9ccbdff3b998dec829dc817da3a65f217ad03 Binary files /dev/null and b/sample/another-lora-2_001000_00_20241022122906_40.png differ diff --git a/sample/another-lora-2_001000_01_20241022122915_40.png b/sample/another-lora-2_001000_01_20241022122915_40.png new file mode 100644 index 0000000000000000000000000000000000000000..4360e2e60f1231bd18cd969edf92d012bd9df431 Binary files /dev/null and b/sample/another-lora-2_001000_01_20241022122915_40.png differ diff --git a/sample/another-lora-2_001000_02_20241022122924_40.png b/sample/another-lora-2_001000_02_20241022122924_40.png new file mode 100644 index 0000000000000000000000000000000000000000..6a17e11f1a55e6a6251cef4dae67e9b056a31f93 Binary files /dev/null and b/sample/another-lora-2_001000_02_20241022122924_40.png differ diff --git a/sample/another-lora-2_001000_03_20241022122933.png b/sample/another-lora-2_001000_03_20241022122933.png new file mode 100644 index 0000000000000000000000000000000000000000..d285144504f62bf8f7c0c29a65fee9a8c5d06c2d Binary files /dev/null and b/sample/another-lora-2_001000_03_20241022122933.png differ diff --git a/sample/another-lora-2_001000_04_20241022122942.png b/sample/another-lora-2_001000_04_20241022122942.png new file mode 100644 index 0000000000000000000000000000000000000000..a05e3e2aff6bced855b8aa0c0b20709f16f1cdf9 Binary files /dev/null and b/sample/another-lora-2_001000_04_20241022122942.png differ diff --git a/sample/another-lora-2_001500_00_20241022123710_40.png b/sample/another-lora-2_001500_00_20241022123710_40.png new file mode 100644 index 0000000000000000000000000000000000000000..c0d4f80016c8bf06e7986f1c472c1baff73f120d Binary files /dev/null and b/sample/another-lora-2_001500_00_20241022123710_40.png differ diff --git a/sample/another-lora-2_001500_01_20241022123719_40.png b/sample/another-lora-2_001500_01_20241022123719_40.png new file mode 100644 index 0000000000000000000000000000000000000000..e4fac41882e88b75781c82eabfe91893014bc702 Binary files /dev/null and b/sample/another-lora-2_001500_01_20241022123719_40.png differ diff --git a/sample/another-lora-2_001500_02_20241022123728_40.png b/sample/another-lora-2_001500_02_20241022123728_40.png new file mode 100644 index 0000000000000000000000000000000000000000..0c1afe47f8472ddb1fd08b24903f4c39cf128271 Binary files /dev/null and b/sample/another-lora-2_001500_02_20241022123728_40.png differ diff --git a/sample/another-lora-2_001500_03_20241022123737.png b/sample/another-lora-2_001500_03_20241022123737.png new file mode 100644 index 0000000000000000000000000000000000000000..90dc9dd5190494ebf3917577810d570964d9177d Binary files /dev/null and b/sample/another-lora-2_001500_03_20241022123737.png differ diff --git a/sample/another-lora-2_001500_04_20241022123746.png b/sample/another-lora-2_001500_04_20241022123746.png new file mode 100644 index 0000000000000000000000000000000000000000..703a8f02ddb7db1379d07400f8325952b217f611 Binary files /dev/null and b/sample/another-lora-2_001500_04_20241022123746.png differ diff --git a/sample/another-lora-2_002000_00_20241022124514_40.png b/sample/another-lora-2_002000_00_20241022124514_40.png new file mode 100644 index 0000000000000000000000000000000000000000..21ed45cca5df6a054177f62c9f74cd42df69113b Binary files /dev/null and b/sample/another-lora-2_002000_00_20241022124514_40.png differ diff --git a/sample/another-lora-2_002000_01_20241022124523_40.png b/sample/another-lora-2_002000_01_20241022124523_40.png new file mode 100644 index 0000000000000000000000000000000000000000..d7013b34de29afdbc4aa1e5ac4ca12c960bd3427 Binary files /dev/null and b/sample/another-lora-2_002000_01_20241022124523_40.png differ diff --git a/sample/another-lora-2_002000_02_20241022124532_40.png b/sample/another-lora-2_002000_02_20241022124532_40.png new file mode 100644 index 0000000000000000000000000000000000000000..e56597cb0a90b12a284faab80a3247bb88f36006 Binary files /dev/null and b/sample/another-lora-2_002000_02_20241022124532_40.png differ diff --git a/sample/another-lora-2_002000_03_20241022124541.png b/sample/another-lora-2_002000_03_20241022124541.png new file mode 100644 index 0000000000000000000000000000000000000000..a33f7a7dbaca561b9b686d04864ae9807b58adf2 Binary files /dev/null and b/sample/another-lora-2_002000_03_20241022124541.png differ diff --git a/sample/another-lora-2_002000_04_20241022124550.png b/sample/another-lora-2_002000_04_20241022124550.png new file mode 100644 index 0000000000000000000000000000000000000000..ff59315fc5e6cab463e24f8bbb9b29dba1189da1 Binary files /dev/null and b/sample/another-lora-2_002000_04_20241022124550.png differ diff --git a/sample/another-lora-2_002500_00_20241022125322_40.png b/sample/another-lora-2_002500_00_20241022125322_40.png new file mode 100644 index 0000000000000000000000000000000000000000..e619b61c61b686640e4235c5c8f1aac25b5f26dc Binary files /dev/null and b/sample/another-lora-2_002500_00_20241022125322_40.png differ diff --git a/sample/another-lora-2_002500_01_20241022125331_40.png b/sample/another-lora-2_002500_01_20241022125331_40.png new file mode 100644 index 0000000000000000000000000000000000000000..cb086dd3e09dc652912f8e5f31dd260679e70727 Binary files /dev/null and b/sample/another-lora-2_002500_01_20241022125331_40.png differ diff --git a/sample/another-lora-2_002500_02_20241022125340_40.png b/sample/another-lora-2_002500_02_20241022125340_40.png new file mode 100644 index 0000000000000000000000000000000000000000..b83f89ed83222b889a9a5d887cf9fe72fd76ad75 Binary files /dev/null and b/sample/another-lora-2_002500_02_20241022125340_40.png differ diff --git a/sample/another-lora-2_002500_03_20241022125349.png b/sample/another-lora-2_002500_03_20241022125349.png new file mode 100644 index 0000000000000000000000000000000000000000..0b0f6abc9f6e7c94487350169cc88ce9c6829593 Binary files /dev/null and b/sample/another-lora-2_002500_03_20241022125349.png differ diff --git a/sample/another-lora-2_002500_04_20241022125358.png b/sample/another-lora-2_002500_04_20241022125358.png new file mode 100644 index 0000000000000000000000000000000000000000..c13873116db41953bafeac34e32a92a7617195a4 Binary files /dev/null and b/sample/another-lora-2_002500_04_20241022125358.png differ diff --git a/sample/another-lora-2_003000_00_20241022130136_40.png b/sample/another-lora-2_003000_00_20241022130136_40.png new file mode 100644 index 0000000000000000000000000000000000000000..38b9f05d297239d84692e1173b0b4408c511ac41 Binary files /dev/null and b/sample/another-lora-2_003000_00_20241022130136_40.png differ diff --git a/sample/another-lora-2_003000_01_20241022130145_40.png b/sample/another-lora-2_003000_01_20241022130145_40.png new file mode 100644 index 0000000000000000000000000000000000000000..d08c7c6387f8ff1540959503888073ff21f5a3d8 Binary files /dev/null and b/sample/another-lora-2_003000_01_20241022130145_40.png differ diff --git a/sample/another-lora-2_003000_02_20241022130154_40.png b/sample/another-lora-2_003000_02_20241022130154_40.png new file mode 100644 index 0000000000000000000000000000000000000000..3b897da0c8ca89c6b0d64c0cfb38bc3ef6df668b Binary files /dev/null and b/sample/another-lora-2_003000_02_20241022130154_40.png differ diff --git a/sample/another-lora-2_003000_03_20241022130203.png b/sample/another-lora-2_003000_03_20241022130203.png new file mode 100644 index 0000000000000000000000000000000000000000..9586c505eed19fb786006c486899a31533507346 Binary files /dev/null and b/sample/another-lora-2_003000_03_20241022130203.png differ diff --git a/sample/another-lora-2_003000_04_20241022130212.png b/sample/another-lora-2_003000_04_20241022130212.png new file mode 100644 index 0000000000000000000000000000000000000000..d7166b0305488200b50575397f3e484bf3a01dc0 Binary files /dev/null and b/sample/another-lora-2_003000_04_20241022130212.png differ diff --git a/sample/another-lora-2_003500_00_20241022130943_40.png b/sample/another-lora-2_003500_00_20241022130943_40.png new file mode 100644 index 0000000000000000000000000000000000000000..4d55da394fdaf72b37795a361f7987ca3ed93127 Binary files /dev/null and b/sample/another-lora-2_003500_00_20241022130943_40.png differ diff --git a/sample/another-lora-2_003500_01_20241022130952_40.png b/sample/another-lora-2_003500_01_20241022130952_40.png new file mode 100644 index 0000000000000000000000000000000000000000..04956b8ac838f368039f0a19bef5e1f53dbbe790 Binary files /dev/null and b/sample/another-lora-2_003500_01_20241022130952_40.png differ diff --git a/sample/another-lora-2_003500_02_20241022131001_40.png b/sample/another-lora-2_003500_02_20241022131001_40.png new file mode 100644 index 0000000000000000000000000000000000000000..db09207384645c779c3f8ac5d687229f1f49079b Binary files /dev/null and b/sample/another-lora-2_003500_02_20241022131001_40.png differ diff --git a/sample/another-lora-2_003500_03_20241022131010.png b/sample/another-lora-2_003500_03_20241022131010.png new file mode 100644 index 0000000000000000000000000000000000000000..fbeb8bc85444953cba780ef967449863faef273f Binary files /dev/null and b/sample/another-lora-2_003500_03_20241022131010.png differ diff --git a/sample/another-lora-2_003500_04_20241022131019.png b/sample/another-lora-2_003500_04_20241022131019.png new file mode 100644 index 0000000000000000000000000000000000000000..d89ac4878e8c549c81433b87b9ae85421214d504 Binary files /dev/null and b/sample/another-lora-2_003500_04_20241022131019.png differ diff --git a/sample/another-lora-2_004000_00_20241022131752_40.png b/sample/another-lora-2_004000_00_20241022131752_40.png new file mode 100644 index 0000000000000000000000000000000000000000..0e8141305b3d4fc1cfd3833717ac3ae0a3906e1a Binary files /dev/null and b/sample/another-lora-2_004000_00_20241022131752_40.png differ diff --git a/sample/another-lora-2_004000_01_20241022131801_40.png b/sample/another-lora-2_004000_01_20241022131801_40.png new file mode 100644 index 0000000000000000000000000000000000000000..2b3140f887f7127d737793d727d0358c69225036 Binary files /dev/null and b/sample/another-lora-2_004000_01_20241022131801_40.png differ diff --git a/sample/another-lora-2_004000_02_20241022131810_40.png b/sample/another-lora-2_004000_02_20241022131810_40.png new file mode 100644 index 0000000000000000000000000000000000000000..298e179ecc4fa48d94ffbedd1aa47af4bfe6818d Binary files /dev/null and b/sample/another-lora-2_004000_02_20241022131810_40.png differ diff --git a/sample/another-lora-2_004000_03_20241022131819.png b/sample/another-lora-2_004000_03_20241022131819.png new file mode 100644 index 0000000000000000000000000000000000000000..aba4cb9084201c4d1ef1317e64dba85a7c23a393 Binary files /dev/null and b/sample/another-lora-2_004000_03_20241022131819.png differ diff --git a/sample/another-lora-2_004000_04_20241022131828.png b/sample/another-lora-2_004000_04_20241022131828.png new file mode 100644 index 0000000000000000000000000000000000000000..120322381c0c590d3d1c39b19c22e06afbfde3fb Binary files /dev/null and b/sample/another-lora-2_004000_04_20241022131828.png differ diff --git a/sample/another-lora-2_004500_00_20241022132553_40.png b/sample/another-lora-2_004500_00_20241022132553_40.png new file mode 100644 index 0000000000000000000000000000000000000000..c7c36aa267aa83f2cf8bccc9beaaaefaab4ae9fd Binary files /dev/null and b/sample/another-lora-2_004500_00_20241022132553_40.png differ diff --git a/sample/another-lora-2_004500_01_20241022132602_40.png b/sample/another-lora-2_004500_01_20241022132602_40.png new file mode 100644 index 0000000000000000000000000000000000000000..609303a9d5296fba09ad5cd27e09baba13c91bc7 Binary files /dev/null and b/sample/another-lora-2_004500_01_20241022132602_40.png differ diff --git a/sample/another-lora-2_004500_02_20241022132611_40.png b/sample/another-lora-2_004500_02_20241022132611_40.png new file mode 100644 index 0000000000000000000000000000000000000000..0dd293df27ede3840c565ca5f82958e360a4caa4 Binary files /dev/null and b/sample/another-lora-2_004500_02_20241022132611_40.png differ diff --git a/sample/another-lora-2_004500_03_20241022132620.png b/sample/another-lora-2_004500_03_20241022132620.png new file mode 100644 index 0000000000000000000000000000000000000000..6e7b13918664a67a21a7ccf465dce83af367e496 Binary files /dev/null and b/sample/another-lora-2_004500_03_20241022132620.png differ diff --git a/sample/another-lora-2_004500_04_20241022132629.png b/sample/another-lora-2_004500_04_20241022132629.png new file mode 100644 index 0000000000000000000000000000000000000000..86db13a1d34ca3a371e1dbddaa51c8652eb2129d Binary files /dev/null and b/sample/another-lora-2_004500_04_20241022132629.png differ diff --git a/sample/another-lora-2_005000_00_20241022133400_40.png b/sample/another-lora-2_005000_00_20241022133400_40.png new file mode 100644 index 0000000000000000000000000000000000000000..469206103029eb67d0804fddcc63fef2384d7682 Binary files /dev/null and b/sample/another-lora-2_005000_00_20241022133400_40.png differ diff --git a/sample/another-lora-2_005000_01_20241022133409_40.png b/sample/another-lora-2_005000_01_20241022133409_40.png new file mode 100644 index 0000000000000000000000000000000000000000..cefc43f3c9777a0896db530365940a15f50c929d Binary files /dev/null and b/sample/another-lora-2_005000_01_20241022133409_40.png differ diff --git a/sample/another-lora-2_005000_02_20241022133418_40.png b/sample/another-lora-2_005000_02_20241022133418_40.png new file mode 100644 index 0000000000000000000000000000000000000000..36aa2fc45d08cbede5bec4a65e781e44126c1ea8 Binary files /dev/null and b/sample/another-lora-2_005000_02_20241022133418_40.png differ diff --git a/sample/another-lora-2_005000_03_20241022133427.png b/sample/another-lora-2_005000_03_20241022133427.png new file mode 100644 index 0000000000000000000000000000000000000000..e6d433bbc9caa28c9a40daa2d82bd9277c57b044 Binary files /dev/null and b/sample/another-lora-2_005000_03_20241022133427.png differ diff --git a/sample/another-lora-2_005000_04_20241022133436.png b/sample/another-lora-2_005000_04_20241022133436.png new file mode 100644 index 0000000000000000000000000000000000000000..78533ec29c27668ad092801e0e54a1d72c320d20 Binary files /dev/null and b/sample/another-lora-2_005000_04_20241022133436.png differ diff --git a/sample/another-lora-2_005500_00_20241022134207_40.png b/sample/another-lora-2_005500_00_20241022134207_40.png new file mode 100644 index 0000000000000000000000000000000000000000..1c955ccce3b007dae11db5f0c671e07b32d042fc Binary files /dev/null and b/sample/another-lora-2_005500_00_20241022134207_40.png differ diff --git a/sample/another-lora-2_005500_01_20241022134216_40.png b/sample/another-lora-2_005500_01_20241022134216_40.png new file mode 100644 index 0000000000000000000000000000000000000000..3c9ae35ed5a892458488a9943aeee323fad49cae Binary files /dev/null and b/sample/another-lora-2_005500_01_20241022134216_40.png differ diff --git a/sample/another-lora-2_005500_02_20241022134225_40.png b/sample/another-lora-2_005500_02_20241022134225_40.png new file mode 100644 index 0000000000000000000000000000000000000000..54c47629608edc35968a4033e1ff73b50eed445b Binary files /dev/null and b/sample/another-lora-2_005500_02_20241022134225_40.png differ diff --git a/sample/another-lora-2_005500_03_20241022134234.png b/sample/another-lora-2_005500_03_20241022134234.png new file mode 100644 index 0000000000000000000000000000000000000000..ac961424cde94b4ae88d74abbf0bb9a6ffdda707 Binary files /dev/null and b/sample/another-lora-2_005500_03_20241022134234.png differ diff --git a/sample/another-lora-2_005500_04_20241022134243.png b/sample/another-lora-2_005500_04_20241022134243.png new file mode 100644 index 0000000000000000000000000000000000000000..555030fe2f148b3205e12c6180f1dec2e61e37e3 Binary files /dev/null and b/sample/another-lora-2_005500_04_20241022134243.png differ diff --git a/sample/another-lora-2_006000_00_20241022135009_40.png b/sample/another-lora-2_006000_00_20241022135009_40.png new file mode 100644 index 0000000000000000000000000000000000000000..49afbf5258b38a261a29649ab1de5badfe828957 Binary files /dev/null and b/sample/another-lora-2_006000_00_20241022135009_40.png differ diff --git a/sample/another-lora-2_006000_01_20241022135018_40.png b/sample/another-lora-2_006000_01_20241022135018_40.png new file mode 100644 index 0000000000000000000000000000000000000000..d767484fc228eb0b43978ea06ddd7a5befd82c35 Binary files /dev/null and b/sample/another-lora-2_006000_01_20241022135018_40.png differ diff --git a/sample/another-lora-2_006000_02_20241022135027_40.png b/sample/another-lora-2_006000_02_20241022135027_40.png new file mode 100644 index 0000000000000000000000000000000000000000..560ea2248dd7cb067d7a8a3b4262e34178651261 Binary files /dev/null and b/sample/another-lora-2_006000_02_20241022135027_40.png differ diff --git a/sample/another-lora-2_006000_03_20241022135036.png b/sample/another-lora-2_006000_03_20241022135036.png new file mode 100644 index 0000000000000000000000000000000000000000..344a9724ea9e4cddb298ba98e771cc9c42a9e1f9 Binary files /dev/null and b/sample/another-lora-2_006000_03_20241022135036.png differ diff --git a/sample/another-lora-2_006000_04_20241022135045.png b/sample/another-lora-2_006000_04_20241022135045.png new file mode 100644 index 0000000000000000000000000000000000000000..55e45b56d5778c13cb3870ebe20b95d46fc73064 Binary files /dev/null and b/sample/another-lora-2_006000_04_20241022135045.png differ diff --git a/sample_prompts.txt b/sample_prompts.txt new file mode 100644 index 0000000000000000000000000000000000000000..bb639c175db43e6e789de6068708a5ea8530aae8 --- /dev/null +++ b/sample_prompts.txt @@ -0,0 +1,10 @@ +p3rs0n a man walking his dog on a leash, holding a magnifying glass in his hand. He is wearing a blue shirt and jeans, and has a determined expression on his face. The dog is a medium-sized breed with a white and brown coat. The background of the image is a bright blue sky with white clouds. --d 40 + +p3rs0n a man sitting at a desk with a laptop computer in front of him. He is wearing a cap and there is a plant in the background. --d 40 + +p3rs0n a man and woman sitting at a table with a whiteboard in front of them. The man is standing and pointing to the whiteboard, while the woman is sitting on a bench. On the table there are various objects, and the background is white. --d 40 + +p3rs0n a man sitting at a desk with a laptop computer in front of him. On the desk there is a monitor, keyboard, and a cup, and in the background there are papers with text written on them. To the left of the desk is a flower pot. + + +p3rs0n a man and woman shaking hands in front of a white background. The man is wearing a suit and tie, while the woman is wearing casual clothing. Both of them have a friendly expression on their faces, suggesting they are in a professional setting. diff --git a/train.sh b/train.sh new file mode 100644 index 0000000000000000000000000000000000000000..92878676225d6f5a1b9700281893b5dbe8bb1ba3 --- /dev/null +++ b/train.sh @@ -0,0 +1,34 @@ +accelerate launch \ + --mixed_precision bf16 \ + --num_cpu_threads_per_process 1 \ + sd-scripts/flux_train_network.py \ + --pretrained_model_name_or_path "/app/fluxgym/models/unet/flux1-schnell.safetensors" \ + --clip_l "/app/fluxgym/models/clip/clip_l.safetensors" \ + --t5xxl "/app/fluxgym/models/clip/t5xxl_fp16.safetensors" \ + --ae "/app/fluxgym/models/vae/ae.sft" \ + --cache_latents_to_disk \ + --save_model_as safetensors \ + --sdpa --persistent_data_loader_workers \ + --max_data_loader_n_workers 2 \ + --seed 42 \ + --gradient_checkpointing \ + --mixed_precision bf16 \ + --save_precision bf16 \ + --network_module networks.lora_flux \ + --network_dim 4 \ + --optimizer_type adamw8bit \--sample_prompts="/app/fluxgym/outputs/another-lora-2/sample_prompts.txt" --sample_every_n_steps="500" \ + --learning_rate 8e-4 \ + --cache_text_encoder_outputs \ + --cache_text_encoder_outputs_to_disk \ + --fp8_base \ + --highvram \ + --max_train_epochs 10 \ + --save_every_n_epochs 4 \ + --dataset_config "/app/fluxgym/outputs/another-lora-2/dataset.toml" \ + --output_dir "/app/fluxgym/outputs/another-lora-2" \ + --output_name another-lora-2 \ + --timestep_sampling shift \ + --discrete_flow_shift 3.1582 \ + --model_prediction_type raw \ + --guidance_scale 1 \ + --loss_type l2 \ \ No newline at end of file