Change warnings to debug messages

This commit is contained in:
allegroai 2019-07-13 23:50:43 +03:00
parent a4c181e777
commit c997f6a95a

View File

@ -519,7 +519,7 @@ class PatchSummaryToEventTransformer(object):
setattr(SummaryToEventTransformer, 'trains',
property(PatchSummaryToEventTransformer.trains_object))
except Exception as ex:
getLogger(TrainsFrameworkAdapter).warning(str(ex))
getLogger(TrainsFrameworkAdapter).debug(str(ex))
if 'torch' in sys.modules:
try:
@ -533,7 +533,7 @@ class PatchSummaryToEventTransformer(object):
# this is a new version of TensorflowX
pass
except Exception as ex:
getLogger(TrainsFrameworkAdapter).warning(str(ex))
getLogger(TrainsFrameworkAdapter).debug(str(ex))
if 'tensorboardX' in sys.modules:
try:
@ -549,7 +549,7 @@ class PatchSummaryToEventTransformer(object):
# this is a new version of TensorflowX
pass
except Exception as ex:
getLogger(TrainsFrameworkAdapter).warning(str(ex))
getLogger(TrainsFrameworkAdapter).debug(str(ex))
if PatchSummaryToEventTransformer.__original_getattributeX is None:
try:
@ -563,7 +563,7 @@ class PatchSummaryToEventTransformer(object):
# this is a new version of TensorflowX
pass
except Exception as ex:
getLogger(TrainsFrameworkAdapter).warning(str(ex))
getLogger(TrainsFrameworkAdapter).debug(str(ex))
@staticmethod
def _patched_add_eventT(self, *args, **kwargs):
@ -795,7 +795,7 @@ class PatchTensorFlowEager(object):
except ImportError:
pass
except Exception as ex:
getLogger(TrainsFrameworkAdapter).warning(str(ex))
getLogger(TrainsFrameworkAdapter).debug(str(ex))
@staticmethod
def _get_event_writer():