@@ -374,7 +374,7 @@ def insert_new_model(
374374 prompt (bool): Optional. Prompt the user with all info before inserting.
375375 params (dict): Optional. If dlc_config is path, dict of override items
376376 """
377- from deeplabcut .utils .auxiliaryfunctions import GetScorerName # isort:skip
377+ from deeplabcut .utils .auxiliaryfunctions import GetScorerName # isort:skip
378378
379379 # handle dlc_config being a yaml file
380380 if not isinstance (dlc_config , dict ):
@@ -392,7 +392,7 @@ def insert_new_model(
392392 project_path = find_full_path (
393393 get_dlc_root_data_dir (), dlc_config .get ("project_path" , project_path )
394394 )
395- dlc_config ["project_path" ] = str ( project_path ) # update if different
395+ dlc_config ["project_path" ] = project_path . as_posix ( ) # update if different
396396 root_dir = find_root_directory (get_dlc_root_data_dir (), project_path )
397397
398398 # ---- Verify config ----
@@ -488,8 +488,11 @@ class ModelEvaluation(dj.Computed):
488488 """
489489
490490 def make (self , key ):
491- from deeplabcut import evaluate_network # isort:skip
492- from deeplabcut .utils .auxiliaryfunctions import get_evaluation_folder # isort:skip
491+ from deeplabcut import evaluate_network # isort:skip
492+ from deeplabcut .utils .auxiliaryfunctions import (
493+ get_evaluation_folder ,
494+ ) # isort:skip
495+
493496 """.populate() method will launch evaluation for each unique entry in Model."""
494497 dlc_config , project_path , model_prefix , shuffle , trainingsetindex = (
495498 Model & key
@@ -719,6 +722,7 @@ def make(self, key):
719722 ) or {}
720723
721724 dlc_reader .do_pose_estimation (
725+ key ,
722726 video_filepaths ,
723727 dlc_model ,
724728 project_path ,
0 commit comments