mirror of
https://github.com/wassname/pytorch-lightning.git
synced 2026-10-26 13:00:58 +08:00
Make test_tube optional (#274)
This commit is contained in:
1 parent
324c28eb5e
commit
8a2472269a
1 file changed
+4
-1
@@ -1,6 +1,9 @@
|
||||
from .base import LightningLoggerBase, rank_zero_only
|
||||
from .test_tube_logger import TestTubeLogger
|
||||
|
||||
try:
|
||||
from .test_tube_logger import TestTubeLogger
|
||||
except ModuleNotFoundError:
|
||||
pass
|
||||
try:
|
||||
from .mlflow_logger import MLFlowLogger
|
||||
except ModuleNotFoundError:
|
||||
|
||||
Reference in new issue
Block a user