mirror of
https://github.com/kohya-ss/sd-scripts.git
synced 2026-04-18 01:30:02 +00:00
re-fix assertion ref #1389
This commit is contained in:
@@ -64,10 +64,10 @@ def train(args):
|
|||||||
# not args.train_text_encoder or not args.cache_text_encoder_outputs
|
# not args.train_text_encoder or not args.cache_text_encoder_outputs
|
||||||
# ), "cache_text_encoder_outputs is not supported when training text encoder / text encoderを学習するときはcache_text_encoder_outputsはサポートされていません"
|
# ), "cache_text_encoder_outputs is not supported when training text encoder / text encoderを学習するときはcache_text_encoder_outputsはサポートされていません"
|
||||||
|
|
||||||
# training text encoder is not supported
|
# # training text encoder is not supported
|
||||||
assert (
|
# assert (
|
||||||
not args.train_text_encoder
|
# not args.train_text_encoder
|
||||||
), "training text encoder is not supported currently / text encoderの学習は現在サポートされていません"
|
# ), "training text encoder is not supported currently / text encoderの学習は現在サポートされていません"
|
||||||
|
|
||||||
# training without text encoder cache is not supported
|
# training without text encoder cache is not supported
|
||||||
assert (
|
assert (
|
||||||
|
|||||||
Reference in New Issue
Block a user