c92442390c9acf94f3a6bec887115b8a80005ba0,ludwig/predict.py,,cli,#Any#,118
Before Change
global logger
logger = logging.getLogger("ludwig.predict")
set_on_master(args.use_horovod)
if is_on_master():
print_ludwig("Predict", LUDWIG_VERSION)
logger.info("Dataset path: {}".format(args.dataset))
After Change
choices=["critical", "error", "warning", "info", "debug", "notset"]
)
args = parser.parse_args(sys_argv)
args.logging_level = logging_level_registry[args.logging_level]
logging.getLogger("ludwig").setLevel(
args.logging_level
)
global logger
logger = logging.getLogger("ludwig.predict")
args.backend = initialize_backend(args.backend)
if args.backend.is_coordinator():
print_ludwig("Predict", LUDWIG_VERSION)
logger.info("Dataset path: {}".format(args.dataset))
logger.info("Model path: {}".format(args.model_path))
In pattern: SUPERPATTERN
Frequency: 5
Non-data size: 9
Instances
Project Name: uber/ludwig
Commit Name: c92442390c9acf94f3a6bec887115b8a80005ba0
Time: 2021-01-31
Author: tgaddair@gmail.com
File Name: ludwig/predict.py
Class Name:
Method Name: cli
Project Name: uber/ludwig
Commit Name: c92442390c9acf94f3a6bec887115b8a80005ba0
Time: 2021-01-31
Author: tgaddair@gmail.com
File Name: ludwig/experiment.py
Class Name:
Method Name: cli
Project Name: uber/ludwig
Commit Name: c92442390c9acf94f3a6bec887115b8a80005ba0
Time: 2021-01-31
Author: tgaddair@gmail.com
File Name: ludwig/hyperopt_cli.py
Class Name:
Method Name: cli
Project Name: uber/ludwig
Commit Name: c92442390c9acf94f3a6bec887115b8a80005ba0
Time: 2021-01-31
Author: tgaddair@gmail.com
File Name: ludwig/train.py
Class Name:
Method Name: cli
Project Name: uber/ludwig
Commit Name: c92442390c9acf94f3a6bec887115b8a80005ba0
Time: 2021-01-31
Author: tgaddair@gmail.com
File Name: ludwig/evaluate.py
Class Name:
Method Name: cli