diff --git a/parl/utils/summary.py b/parl/utils/summary.py index bc3578ef384222a4e55b7b9af90f36d9a7fccb4c..74b002d6c1db4b957dc2d91d219baad22d50ca80 100644 --- a/parl/utils/summary.py +++ b/parl/utils/summary.py @@ -14,5 +14,5 @@ try: from parl.utils.visualdl import * -except: +except ImportError: from parl.utils.tensorboard import *