@@ -245,14 +245,14 @@ def dropimagesduetolackofannotation(config):
245245
246246def dropunlabeledframes (config ):
247247 """
248- Drop entries such that all the bodyparts are not labeled from the annotation files, i.e. h5 and csv files
248+ Drop entries such that all the bodyparts are not labeled from the annotation files, i.e. h5 and csv files
249249 Will be carried out iteratively for all *folders* in labeled-data.
250-
250+
251251 Parameter
252252 ----------
253253 config : string
254254 String containing the full path of the config file in the project.
255-
255+
256256 """
257257 cfg = auxiliaryfunctions .read_config (config )
258258 videos = cfg ["video_sets" ].keys ()
@@ -275,9 +275,9 @@ def dropunlabeledframes(config):
275275 DC .to_csv (
276276 os .path .join (str (folder ), "CollectedData_" + cfg ["scorer" ] + ".csv" )
277277 )
278-
278+
279279 print ("Dropped " , dropped , "entries in " ,folder )
280-
280+
281281 print ("Done." )
282282
283283def check_labels (
@@ -747,7 +747,7 @@ def create_training_dataset(
747747
748748 augmenter_type: string
749749 Type of augmenter. Currently default, imgaug, tensorpack, and deterministic are supported.
750-
750+
751751 posecfg_template: string (optional, default=None)
752752 Path to a pose_cfg.yaml file to use as a template for generating the new one for the current iteration. Useful if you
753753 would like to start with the same parameters a previous training iteration. None uses the default pose_cfg.yaml.
@@ -834,7 +834,7 @@ def create_training_dataset(
834834 "deterministic" ,
835835 ]:
836836 raise ValueError ("Invalid augmenter type:" , augmenter_type )
837-
837+
838838 if posecfg_template :
839839 if net_type != prior_cfg ["net_type" ]:
840840 print (
@@ -844,7 +844,7 @@ def create_training_dataset(
844844 print (
845845 "WARNING: Specified augmenter_type does not match dataset_type from posecfg_template path entered. Proceed with caution."
846846 )
847-
847+
848848 # Loading the encoder (if necessary downloading from TF)
849849 dlcparent_path = auxiliaryfunctions .get_deeplabcut_path ()
850850 if not posecfg_template :
0 commit comments