Merge pull request #1717 from catboxanon/fix/remove-vpred-warnings

Remove v-pred warnings
This commit is contained in:
Kohya S.
2024-10-25 18:49:40 +09:00
committed by GitHub
3 changed files with 0 additions and 8 deletions

View File

@@ -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を使用することは想定されていません")

View File

@@ -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を使用することは想定されていません")

View File

@@ -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を使用することは想定されていません")