NVIDIA / semantic-segmentation

Nvidia Semantic Segmentation monorepo

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

train.py: error: unrecognized arguments: false true true true true n_scales 0.5,1.0,2.0

chiba1sonny opened this issue · comments

When run

python semantic-segmentation-main/train.py --dataset "mapillary" --cv 0 --syncbn "false" --apex "true" --fp16 "tru
e" --bs_val "1" --eval "folder" --eval_folder "images/testing/images" --dump_assets "true" --dump_all_images "true" n_scales "0.5,1.0,2.0" --snapshot "semantic-segmentation-main/best_checkpoint_ep153.pth" --arch "orcnet.HRNet_Mscale" --result_dir "prediction"

Error below came out

usage: train.py [-h] [--lr LR] [--arch ARCH] [--dataset DATASET]
                [--dataset_inst DATASET_INST] [--num_workers NUM_WORKERS]
                [--cv CV] [--class_uniform_pct CLASS_UNIFORM_PCT]
                [--class_uniform_tile CLASS_UNIFORM_TILE]
                [--coarse_boost_classes COARSE_BOOST_CLASSES]
                [--custom_coarse_dropout_classes CUSTOM_COARSE_DROPOUT_CLASSES]
                [--img_wt_loss] [--rmi_loss] [--batch_weighting]
                [--jointwtborder] [--strict_bdr_cls STRICT_BDR_CLS]
                [--rlx_off_epoch RLX_OFF_EPOCH] [--rescale RESCALE]
                [--repoly REPOLY] [--apex] [--fp16] [--local_rank LOCAL_RANK]
                [--global_rank GLOBAL_RANK] [--optimizer OPTIMIZER]
                [--amsgrad] [--freeze_trunk] [--hardnm HARDNM] [--trunk TRUNK]
                [--max_epoch MAX_EPOCH] [--max_cu_epoch MAX_CU_EPOCH]
                [--start_epoch START_EPOCH] [--color_aug COLOR_AUG] [--gblur]
                [--bblur] [--brt_aug] [--lr_schedule LR_SCHEDULE]
                [--poly_exp POLY_EXP] [--poly_step POLY_STEP]
                [--bs_trn BS_TRN] [--bs_val BS_VAL] [--crop_size CROP_SIZE]
                [--scale_min SCALE_MIN] [--scale_max SCALE_MAX]
                [--weight_decay WEIGHT_DECAY] [--momentum MOMENTUM]
                [--snapshot SNAPSHOT] [--resume RESUME] [--restore_optimizer]
                [--restore_net] [--exp EXP] [--result_dir RESULT_DIR]
                [--syncbn] [--dump_augmentation_images] [--test_mode]
                [-wb WT_BOUND] [--maxSkip MAXSKIP] [--scf]
                [--full_crop_training] [--multi_scale_inference]
                [--default_scale DEFAULT_SCALE] [--log_msinf_to_tb]
                [--eval EVAL] [--eval_folder EVAL_FOLDER] [--three_scale]
                [--alt_two_scale] [--do_flip] [--extra_scales EXTRA_SCALES]
                [--n_scales N_SCALES] [--align_corners] [--translate_aug_fix]
                [--mscale_lo_scale MSCALE_LO_SCALE] [--pre_size PRE_SIZE]
                [--amp_opt_level AMP_OPT_LEVEL] [--rand_augment RAND_AUGMENT]
                [--init_decoder] [--dump_topn DUMP_TOPN] [--dump_assets]
                [--dump_all_images] [--dump_for_submission]
                [--dump_for_auto_labelling] [--dump_topn_all]
                [--custom_coarse_prob CUSTOM_COARSE_PROB] [--only_coarse]
                [--mask_out_cityscapes] [--ocr_aspp] [--map_crop_val]
                [--aspp_bot_ch ASPP_BOT_CH] [--trial TRIAL]
                [--mscale_cat_scale_flt] [--mscale_dropout] [--mscale_no3x3]
                [--mscale_old_arch] [--mscale_init MSCALE_INIT]
                [--attnscale_bn_head]
                [--set_cityscapes_root SET_CITYSCAPES_ROOT]
                [--ocr_alpha OCR_ALPHA] [--val_freq VAL_FREQ]
                [--deterministic] [--summary]
                [--segattn_bot_ch SEGATTN_BOT_CH] [--grad_ckpt] [--no_metrics]
                [--supervised_mscale_loss_wt SUPERVISED_MSCALE_LOSS_WT]
                [--ocr_aux_loss_rmi]
train.py: error: unrecognized arguments: false true true true true n_scale 0.5,1.0,2.0