File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
element_deeplabcut/plotting Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -9,14 +9,15 @@ def plotting_results(pose_estimation_key: dict):
99 plots_dir (Path): Path to the folder containing the plots
1010 """
1111 import deeplabcut
12- from element_deeplabcut import dlc_reader , model
12+ from element_deeplabcut import model
13+ from element_deeplabcut .readers import dlc_reader
1314
1415 output_dir = (model .PoseEstimationTask & pose_estimation_key ).fetch1 (
1516 "pose_estimation_output_dir"
1617 )
1718 output_dir = model .find_full_path (model .get_dlc_root_data_dir (), output_dir )
1819
19- dlc_result = dlc_reader .PoseEstimation (output_dir )
20+ dlc_result = dlc_reader .PoseEstimation (output_dir . as_posix () )
2021
2122 plots_dir = output_dir / "plots"
2223 plots_dir .mkdir (exist_ok = True )
You can’t perform that action at this time.
0 commit comments