@@ -82,8 +82,8 @@ def set_custom_meanface(
8282 warnings .warn (
8383 f"custom_meanface_lms != self.num_lms, "
8484 f"{ custom_meanface_lms } != { self .num_lms } "
85- f"So, we will skip this setup for PIPNet meanface."
86- f"Please check and setup meanface carefully before"
85+ f"So, we will skip this setup for PIPNet meanface. "
86+ f"Please check and setup meanface carefully before "
8787 f"running PIPNet ..."
8888 )
8989 self .meanface_type = custom_meanface_type
@@ -112,8 +112,8 @@ def _set_default_meanface(self):
112112 if self .meanface_type .upper () not in _DEFAULT_MEANFACE_STRINGS :
113113 warnings .warn (
114114 f"Can not found default dataset: { self .meanface_type .upper ()} !"
115- f"So, we will skip this setup for PIPNet meanface."
116- f"Please check and setup meanface carefully before"
115+ f"So, we will skip this setup for PIPNet meanface. "
116+ f"Please check and setup meanface carefully before "
117117 f"running PIPNet ..."
118118 )
119119 self .meanface_status = False
@@ -125,8 +125,8 @@ def _set_default_meanface(self):
125125 if meanface_lms != self .num_lms :
126126 warnings .warn (
127127 f"meanface_lms != self.num_lms, { meanface_lms } != { self .num_lms } "
128- f"So, we will skip this setup for PIPNet meanface."
129- f"Please check and setup meanface carefully before"
128+ f"So, we will skip this setup for PIPNet meanface. "
129+ f"Please check and setup meanface carefully before "
130130 f"running PIPNet ..."
131131 )
132132 self .meanface_status = False
@@ -279,8 +279,8 @@ def _detecting_impl(
279279 """
280280 if not net .meanface_status :
281281 raise RuntimeError (
282- f"Can not found any meanface landmarks settings ! "
283- f"Please check and setup meanface carefully before"
282+ f"Can not found any meanface landmarks settings! "
283+ f"Please check and setup meanface carefully before "
284284 f"running PIPNet ..."
285285 )
286286
@@ -436,8 +436,8 @@ def _training_impl(
436436
437437 if not net .meanface_status :
438438 raise RuntimeError (
439- f"Can not found any meanface landmarks settings !"
440- f"Please check and setup meanface carefully before"
439+ f"Can not found any meanface landmarks settings ! "
440+ f"Please check and setup meanface carefully before "
441441 f"running PIPNet ..."
442442 )
443443
0 commit comments