Remove warning on skipped auto-magic model logging

This commit is contained in:
allegroai 2020-09-09 22:09:02 +03:00
parent fede603a7b
commit f4917572bb

View File

@ -185,7 +185,7 @@ class WeightsFileHandler(object):
return filepath return filepath
if not model_info.local_model_path: if not model_info.local_model_path:
get_logger(TrainsFrameworkAdapter).debug("Could not retrieve model file location, model is not logged") # get_logger(TrainsFrameworkAdapter).debug("Could not retrieve model file location, model is not logged")
return filepath return filepath
try: try:
@ -316,8 +316,8 @@ class WeightsFileHandler(object):
local_model_id=saved_path, framework=framework, task=task) local_model_id=saved_path, framework=framework, task=task)
if not model_info.local_model_path: if not model_info.local_model_path:
get_logger(TrainsFrameworkAdapter).warning( # get_logger(TrainsFrameworkAdapter).debug(
"Could not retrieve model location, skipping auto model logging") # "Could not retrieve model location, skipping auto model logging")
return saved_path return saved_path
# check if we have output storage, and generate list of files to upload # check if we have output storage, and generate list of files to upload