Added train iteration argument to CLI
Signed-off-by: Jim Martens <github@2martens.de>
This commit is contained in:
@ -242,7 +242,7 @@ def _ssd_val(args: argparse.Namespace) -> None:
|
||||
use_dropout = False if args.network == "ssd" else True
|
||||
|
||||
weights_file = f"{args.weights_path}/VGG_coco_SSD_300x300_iter_400000.h5"
|
||||
checkpoint_path = f"{args.weights_path}/train/{args.network}/"
|
||||
checkpoint_path = f"{args.weights_path}/train/{args.network}/{args.train_iteration}"
|
||||
output_path = f"{args.output_path}/val/{args.network}/{args.iteration}/"
|
||||
os.makedirs(output_path, exist_ok=True)
|
||||
|
||||
|
||||
@ -121,6 +121,7 @@ def _build_ssd_val(parser: argparse.ArgumentParser) -> None:
|
||||
parser.add_argument("--summary_path", type=str, help="path to the summaries directory")
|
||||
parser.add_argument("--output_path", type=str, help="path to the output directory")
|
||||
parser.add_argument("iteration", type=int, help="the validation iteration")
|
||||
parser.add_argument("train_iteration", type=int, help="the train iteration")
|
||||
|
||||
|
||||
def _build_auto_encoder_val(parser: argparse.ArgumentParser) -> None:
|
||||
|
||||
Reference in New Issue
Block a user