Skip to content

Commit 8a6e4cf

Browse files
putting model_training in a try statement
1 parent 080744d commit 8a6e4cf

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

facemap/pose/pose.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,15 @@
1313

1414
from facemap import utils
1515

16-
from . import datasets, facemap_network, model_loader, model_training
16+
from . import datasets, facemap_network, model_loader
1717
from . import pose_helper_functions as pose_utils
1818
from . import transforms
1919

20+
try:
21+
from . import model_training
22+
except:
23+
train = False
24+
2025
"""
2126
Base class for generating pose estimates.
2227
Contains functions that can be used through CLI or GUI

0 commit comments

Comments
 (0)