Skip to content

Commit

Permalink
Deprecation warning update
Browse files Browse the repository at this point in the history
  • Loading branch information
torzdf committed Sep 24, 2019
1 parent 5110315 commit e83819f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/train.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,8 @@ def process(self):
logger.info("Training data directory: %s", self.args.model_dir)

# TODO Move these args to config and remove these deprecation warnings
if hasattr(self.args, "no_flip") and self.args.no_flip:
deprecation_warning("`-nf`, ``--no-flip``",
if hasattr(self.args, "warp_to_landmarks") and self.args.warp_to_landmarks:
deprecation_warning("`-wl`, ``--warp-to-landmarks``",
additional_info="This option will be available within training "
"config settings (/config/train.ini).")
if hasattr(self.args, "no_augment_color") and self.args.no_flip:
Expand Down

0 comments on commit e83819f

Please sign in to comment.