-
The image I input is 512 in width and 2048 in height. I also want the image to keep this size for training. How should I set the resolution-related parameters? I have read the document carefully, but I still don't understand some of the settings. [
{
"id": "my_dataset",
"type": "local",
"crop": false,
"cache_dir_vae": "cache/vae/sd3/my_data",
"instance_data_dir": "a/local/dir",
"disabled": false,
"skip_file_discovery": "",
"caption_strategy": "textfile",
"metadata_backend": "json"
},
{
"id": "text-embeds",
"type": "local",
"dataset_type": "text_embeds",
"default": true,
"cache_dir": "cache/text/sd3/my_data",
"disabled": false,
"write_batch_size": 1
}
] |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 5 replies
-
if i change the json file to: [
{
"id": "my_dataset",
"type": "local",
"crop": false,
"resolution": 512,
"resolution_type": "pixel",
"cache_dir_vae": "cache/vae/sd3/my_data",
"instance_data_dir": "a/local/dir",
"disabled": false,
"skip_file_discovery": "",
"caption_strategy": "textfile",
"metadata_backend": "json"
},
{
"id": "text-embeds",
"type": "local",
"dataset_type": "text_embeds",
"default": true,
"cache_dir": "cache/text/sd3/my_data",
"disabled": false,
"write_batch_size": 1
}
] Is this correct? |
Beta Was this translation helpful? Give feedback.
-
yes - use export SIMPLETUNER_DEBUG_IMAGE_PREP=true on the command line just before running the trainer. it will write all processed images at each step of their being processed to if you observe any issue, please ping me |
Beta Was this translation helpful? Give feedback.
-
also, remember to disable / |
Beta Was this translation helpful? Give feedback.
also, remember to disable /
unset
that env var for your actual training, or it might keep writing images and fill your disk up :-) it's useful for verifying that the images are undisturbed though.