mirror of
https://github.com/kohya-ss/sd-scripts.git
synced 2026-04-17 17:24:21 +00:00
Test logging fix
This commit is contained in:
@@ -63,7 +63,7 @@ from networks.control_net_lllite import ControlNetLLLite
|
|||||||
from library.utils import GradualLatent, EulerAncestralDiscreteSchedulerGL
|
from library.utils import GradualLatent, EulerAncestralDiscreteSchedulerGL
|
||||||
from library.utils import setup_logging, add_logging_arguments
|
from library.utils import setup_logging, add_logging_arguments
|
||||||
|
|
||||||
setup_logging()
|
|
||||||
import logging
|
import logging
|
||||||
|
|
||||||
logger = logging.getLogger(__name__)
|
logger = logging.getLogger(__name__)
|
||||||
@@ -1485,6 +1485,8 @@ class ListPrompter:
|
|||||||
|
|
||||||
|
|
||||||
def main(args):
|
def main(args):
|
||||||
|
logging.basicConfig()
|
||||||
|
setup_logging(args)
|
||||||
if args.fp16:
|
if args.fp16:
|
||||||
dtype = torch.float16
|
dtype = torch.float16
|
||||||
elif args.bf16:
|
elif args.bf16:
|
||||||
|
|||||||
Reference in New Issue
Block a user