Open MLGODFATHER opened 4 weeks ago
@MLGODFATHER You can change the batch size in the advanced settings. But when I change this, I get an error message. But maybe you have more luck.
@MLGODFATHER You can change the batch size in the advanced settings. But when I change this, I get an error message. But maybe you have more luck.
I don't see that option anywhere...
@MLGODFATHER You can change the batch size in the advanced settings. But when I change this, I get an error message. But maybe you have more luck.
I don't see that option anywhere...
We can't help you to read but it looks like this:
@InB4DevOps Not sure if that option worked when you tried it, but its currently over ridden by the batch size hard coded in the python script to run flux gym. It will ignore what ever you put in there.
@MLGODFATHER @FNVDesigns See this for a solution.
@InB4DevOps Not sure if that option worked when you tried it, but its currently over ridden by the batch size hard coded in the python script to run flux gym. It will ignore what ever you put in there.
@MLGODFATHER @FNVDesigns See this for a solution.
Thanks so much for the info!!
@InB4DevOps Not sure if that option worked when you tried it, but its currently over ridden by the batch size hard coded in the python script to run flux gym. It will ignore what ever you put in there. @MLGODFATHER @FNVDesigns See this for a solution.
Thanks so much for the info!!
hi - i change the app.py code manually in the gen toml function 👍
def gen_toml( dataset_folder, resolution, class_tokens, num_repeats ): toml = f"""[general] shuffle_caption = false caption_extension = '.txt' keep_tokens = 1
[[datasets]] resolution = {resolution} batch_size = 2 keep_tokens = 1
[[datasets.subsets]] image_dir = '{resolve_path_without_quotes(dataset_folder)}' class_tokens = '{class_tokens}' num_repeats = {num_repeats}""" return toml
i will report if there is a change
How to Change Batch_Size?
When I try to change the batch size within the Train Config on the far-right column it just quickly reverts back to the default of 1. Can anyone tell me how I can change the batch size to make the traiging faster?