Skip to content

Commit bee89bf

Browse files
authored
Merge pull request #71 from sidhulyalkar/main
Move evaluate_network import into make function in model.py
2 parents 3f83619 + 2f2a9a1 commit bee89bf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

element_deeplabcut/model.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
from pathlib import Path
1616
from typing import Optional
1717
from datetime import datetime
18-
from deeplabcut import evaluate_network
1918
from element_interface.utils import find_full_path, find_root_directory
2019
from deeplabcut.utils.auxiliaryfunctions import get_evaluation_folder, GetScorerName
2120
from .readers import dlc_reader
@@ -488,6 +487,7 @@ class ModelEvaluation(dj.Computed):
488487
"""
489488

490489
def make(self, key):
490+
from deeplabcut import evaluate_network # isort:skip
491491
""".populate() method will launch evaluation for each unique entry in Model."""
492492
dlc_config, project_path, model_prefix, shuffle, trainingsetindex = (
493493
Model & key

0 commit comments

Comments
 (0)