mirror of
https://github.com/kohya-ss/sd-scripts.git
synced 2026-04-09 06:45:09 +00:00
Remove v-pred warnings
Different model architectures, such as SDXL, can take advantage of v-pred. It doesn't make sense to include these warnings anymore.
This commit is contained in:
@@ -1495,8 +1495,6 @@ def main(args):
|
|||||||
highres_fix = args.highres_fix_scale is not None
|
highres_fix = args.highres_fix_scale is not None
|
||||||
# assert not highres_fix or args.image_path is None, f"highres_fix doesn't work with img2img / highres_fixはimg2imgと同時に使えません"
|
# assert not highres_fix or args.image_path is None, f"highres_fix doesn't work with img2img / highres_fixはimg2imgと同時に使えません"
|
||||||
|
|
||||||
if args.v_parameterization and not args.v2:
|
|
||||||
logger.warning("v_parameterization should be with v2 / v1でv_parameterizationを使用することは想定されていません")
|
|
||||||
if args.v2 and args.clip_skip is not None:
|
if args.v2 and args.clip_skip is not None:
|
||||||
logger.warning("v2 with clip_skip will be unexpected / v2でclip_skipを使用することは想定されていません")
|
logger.warning("v2 with clip_skip will be unexpected / v2でclip_skipを使用することは想定されていません")
|
||||||
|
|
||||||
|
|||||||
@@ -2216,8 +2216,6 @@ def main(args):
|
|||||||
highres_fix = args.highres_fix_scale is not None
|
highres_fix = args.highres_fix_scale is not None
|
||||||
# assert not highres_fix or args.image_path is None, f"highres_fix doesn't work with img2img / highres_fixはimg2imgと同時に使えません"
|
# assert not highres_fix or args.image_path is None, f"highres_fix doesn't work with img2img / highres_fixはimg2imgと同時に使えません"
|
||||||
|
|
||||||
if args.v_parameterization and not args.v2:
|
|
||||||
logger.warning("v_parameterization should be with v2 / v1でv_parameterizationを使用することは想定されていません")
|
|
||||||
if args.v2 and args.clip_skip is not None:
|
if args.v2 and args.clip_skip is not None:
|
||||||
logger.warning("v2 with clip_skip will be unexpected / v2でclip_skipを使用することは想定されていません")
|
logger.warning("v2 with clip_skip will be unexpected / v2でclip_skipを使用することは想定されていません")
|
||||||
|
|
||||||
|
|||||||
@@ -3698,10 +3698,6 @@ def verify_training_args(args: argparse.Namespace):
|
|||||||
global HIGH_VRAM
|
global HIGH_VRAM
|
||||||
HIGH_VRAM = True
|
HIGH_VRAM = True
|
||||||
|
|
||||||
if args.v_parameterization and not args.v2:
|
|
||||||
logger.warning(
|
|
||||||
"v_parameterization should be with v2 not v1 or sdxl / v1やsdxlでv_parameterizationを使用することは想定されていません"
|
|
||||||
)
|
|
||||||
if args.v2 and args.clip_skip is not None:
|
if args.v2 and args.clip_skip is not None:
|
||||||
logger.warning("v2 with clip_skip will be unexpected / v2でclip_skipを使用することは想定されていません")
|
logger.warning("v2 with clip_skip will be unexpected / v2でclip_skipを使用することは想定されていません")
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user