From c997f6a95a1c8351f75d1fe1c740738d6a082c6f Mon Sep 17 00:00:00 2001 From: allegroai <> Date: Sat, 13 Jul 2019 23:50:43 +0300 Subject: [PATCH] Change warnings to debug messages --- trains/binding/frameworks/tensorflow_bind.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/trains/binding/frameworks/tensorflow_bind.py b/trains/binding/frameworks/tensorflow_bind.py index 396ef535..2362b81a 100644 --- a/trains/binding/frameworks/tensorflow_bind.py +++ b/trains/binding/frameworks/tensorflow_bind.py @@ -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():