mirror of
https://github.com/kohya-ss/sd-scripts.git
synced 2026-04-09 06:45:09 +00:00
fix resolution in metadata for sd3
This commit is contained in:
@@ -216,7 +216,7 @@ def build_metadata(
|
|||||||
reso = (reso[0], reso[0])
|
reso = (reso[0], reso[0])
|
||||||
else:
|
else:
|
||||||
# resolution is defined in dataset, so use default
|
# resolution is defined in dataset, so use default
|
||||||
if sdxl:
|
if sdxl or sd3 is not None:
|
||||||
reso = 1024
|
reso = 1024
|
||||||
elif v2 and v_parameterization:
|
elif v2 and v_parameterization:
|
||||||
reso = 768
|
reso = 768
|
||||||
|
|||||||
Reference in New Issue
Block a user