mirror of
https://github.com/huggingface/transformers.git
synced 2025-07-18 03:58:25 +06:00
parent
7203ea6797
commit
cbf6bc2350
@ -217,7 +217,7 @@ def main():
|
|||||||
# If we're using tracking, we also need to initialize it here and it will by default pick up all supported trackers
|
# If we're using tracking, we also need to initialize it here and it will by default pick up all supported trackers
|
||||||
# in the environment
|
# in the environment
|
||||||
accelerator = (
|
accelerator = (
|
||||||
Accelerator(log_with=args.report_to, logging_dir=args.output_dir) if args.with_tracking else Accelerator()
|
Accelerator(log_with=args.report_to, project_dir=args.output_dir) if args.with_tracking else Accelerator()
|
||||||
)
|
)
|
||||||
# Make one log on every process with the configuration for debugging.
|
# Make one log on every process with the configuration for debugging.
|
||||||
logging.basicConfig(
|
logging.basicConfig(
|
||||||
|
Loading…
Reference in New Issue
Block a user