-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3d03901
commit 471df8e
Showing
2 changed files
with
122 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,119 @@ | ||
model: ostris/flux-dev-lora-trainer | ||
test_model: replicate-internal/test-flux-fine-tuner | ||
predict: | ||
compare_outputs: false | ||
predict_timeout: 300 | ||
test_cases: | ||
|
||
# basic | ||
- inputs: | ||
prompt: PLSM style, an image of a tiger, made of yellow, red, and purple goo plasma | ||
num_outputs: 1 | ||
lora_scale: 1.1 | ||
num_inference_steps: 28 | ||
guidance_scale: 1.5 | ||
seed: 5259 | ||
output_format: jpg | ||
replicate_weights: https://replicate.delivery/yhqm/MHJmIF7zlLKXPNN9LKN5yxYUuC7SyzKjMBtqeVwUGdPCpqqJA/trained_model.tar | ||
match_url: https://replicate.delivery/yhqm/1jbh5xu9KqaoAV0fG8z3rhaN6ei5fyQEHffTJePLUZdXi182E/out-0.jpg | ||
|
||
# img2img and custom size | ||
- inputs: | ||
prompt: "PLSM style, an image of a formula one car, made of yellow, red, and purple goo plasma" | ||
num_outputs: 1 | ||
lora_scale: 1.0 | ||
aspect_ratio: "custom" | ||
width: 500 | ||
height: 256 | ||
num_inference_steps: 20 | ||
model: "dev" | ||
guidance_scale: 1.5 | ||
replicate_weights: "https://replicate.delivery/yhqm/MHJmIF7zlLKXPNN9LKN5yxYUuC7SyzKjMBtqeVwUGdPCpqqJA/trained_model.tar" | ||
output_format: "jpg" | ||
output_quality: 90 | ||
image: "https://storage.googleapis.com/cog-safe-push-public/fast-car.jpg" | ||
prompt_strength: 0.9 | ||
seed: 12919 | ||
match_url: "https://replicate.delivery/yhqm/ySRQ9Kchm3pQAZmG5CsWuJJnrIUmI7KfffURlgNXRccTBo3mA/out-0.jpg" | ||
|
||
# inpainting | ||
- inputs: | ||
prompt: "PLSM style, an image of a tiger, made of yellow, red, and purple goo plasma" | ||
num_outputs: 1 | ||
lora_scale: 0.8 | ||
aspect_ratio: custom | ||
width: 500 | ||
height: 256 | ||
num_inference_steps: 20 | ||
model: "dev" | ||
guidance_scale: 1.5 | ||
replicate_weights: "https://replicate.delivery/yhqm/MHJmIF7zlLKXPNN9LKN5yxYUuC7SyzKjMBtqeVwUGdPCpqqJA/trained_model.tar" | ||
output_format: "jpg" | ||
output_quality: 90 | ||
prompt_strength: 1.0 | ||
image: "https://replicate.delivery/pbxt/LbXcDNOFtOMiBChe9QHHbeNJ5KcoTNfWEGmIxswhaexvXWEs/Screenshot%202024-09-11%20at%2014.36.07.png" | ||
mask: "https://replicate.delivery/pbxt/LbXcE8bXqlTqPWIDb3SFFuJzIUMKSUscnqF97XVv0K2coEwr/Screenshot%202024-09-11%20at%2014.37.41.png" | ||
seed: 64090 | ||
match_url: "https://replicate.delivery/yhqm/NwelDMqsy234YaQesvcpWxsxmlKYlsgRkBW9JBXAfomXYo3mA/out-0.jpg" | ||
|
||
# aspect ratio | ||
- inputs: | ||
prompt: PLSM style, an image of a tiger, made of yellow, red, and purple goo plasma | ||
aspect_ratio: "16:9" | ||
num_outputs: 1 | ||
lora_scale: 1.1 | ||
num_inference_steps: 28 | ||
guidance_scale: 1.5 | ||
seed: 16726 | ||
output_format: jpg | ||
replicate_weights: https://replicate.delivery/yhqm/MHJmIF7zlLKXPNN9LKN5yxYUuC7SyzKjMBtqeVwUGdPCpqqJA/trained_model.tar | ||
match_url: https://replicate.delivery/yhqm/sedcOpLQ48XWE6KrjhRL9sIkuH6AJJI6Xix23ArqZ2wNr5tJA/out-0.jpg | ||
|
||
# schnell | ||
- inputs: | ||
prompt: PLSM style, an image of a tiger, made of yellow, red, and purple goo plasma | ||
num_outputs: 1 | ||
lora_scale: 1.1 | ||
num_inference_steps: 4 | ||
model: schnell | ||
guidance_scale: 1.5 | ||
seed: 16726 | ||
output_format: jpg | ||
replicate_weights: https://replicate.delivery/yhqm/MHJmIF7zlLKXPNN9LKN5yxYUuC7SyzKjMBtqeVwUGdPCpqqJA/trained_model.tar | ||
match_url: https://replicate.delivery/yhqm/hHjTKpqSfjy4CqNzmNoWcYGW4WkYH069E4GcMvlkjaSRr5tJA/out-0.jpg | ||
|
||
# extra lora | ||
- inputs: | ||
prompt: PLSM style, an image of a man ANDRS, made of yellow, red, and purple goo plasma | ||
num_outputs: 1 | ||
lora_scale: 0.8 | ||
num_inference_steps: 20 | ||
model: dev | ||
guidance_scale: 1.5 | ||
seed: 413 | ||
extra_lora: andreasjansson/flux-me | ||
extra_lora_scale: 1.1 | ||
replicate_weights: https://replicate.delivery/yhqm/MHJmIF7zlLKXPNN9LKN5yxYUuC7SyzKjMBtqeVwUGdPCpqqJA/trained_model.tar | ||
output_format: jpg | ||
output_quality: 90 | ||
match_url: https://replicate.delivery/yhqm/jpyztFCfmetarE6p9Zt8VL2wfJpzyssOEtrX3ieGLspEee82E/out-0.jpg | ||
|
||
fuzz: | ||
fixed_inputs: | ||
replicate_weights: https://replicate.delivery/yhqm/MHJmIF7zlLKXPNN9LKN5yxYUuC7SyzKjMBtqeVwUGdPCpqqJA/trained_model.tar | ||
disabled_inputs: | ||
- extra_lora | ||
duration: 120 | ||
iterations: 5 | ||
|
||
train: | ||
train_timeout: 600 | ||
test_cases: | ||
|
||
# tiny training with autocaption | ||
- inputs: | ||
input_images: "https://replicate.delivery/pbxt/LbXqvBzG3Bfo6CDkIkBNo8a8v6GWZGQrqxBrgeRpaQ1knkyD/me-tiny.zip" | ||
steps: 50 | ||
autocaption: true | ||
trigger_word: NDRS | ||
match_prompt: "A dictionary of a version and weights which are a .tar file" |