MIVRC / SeaNet-PyTorch

This repository is a PyTorch version of "Soft-edge Assisted Network for Single Image Super-Resolution". (IEEE TIP 2020)
27 stars 10 forks source link

测试报错。 #7

Open zkh123456789 opened 1 year ago

zkh123456789 commented 1 year ago

作者您好,我在用您提供的代码测试时,报了这个错,请教您是什么原因造成的。

zkh123456789 commented 1 year ago

python main.py --data_test MyImage --scale 2 --model SEAN --pre_train /media/ubuntu1604/software/zkh/SeaNet-PyTorch-master/Test/model/best.pt --test_only --save_results --chop --save "SEAN" --testpath /media/ubuntu1604/software/zkh/SeaNet-PyTorch-master/Test/LR/LRBI --testset Set5 usage: main.py [-h] [--debug] [--template TEMPLATE] [--n_threads N_THREADS] [--cpu] [--n_GPUs N_GPUS] [--seed SEED] [--dir_data DIR_DATA] [--dir_demo DIR_DEMO] [--data_train DATA_TRAIN] [--data_test DATA_TEST] [--benchmark_noise] [--n_train N_TRAIN] [--n_val N_VAL] [--offset_val OFFSET_VAL] [--ext EXT] [--scale SCALE] [--patch_size PATCH_SIZE] [--rgb_range RGB_RANGE] [--n_colors N_COLORS] [--noise NOISE] [--chop] [--model MODEL] [--act ACT] [--pre_train PRE_TRAIN] [--extend EXTEND] [--n_resblocks N_RESBLOCKS] [--n_feats N_FEATS] [--res_scale RES_SCALE] [--shift_mean SHIFT_MEAN] [--precision {single,half}] [--reset] [--test_every TEST_EVERY] [--epochs EPOCHS] [--batch_size BATCH_SIZE] [--split_batch SPLIT_BATCH] [--self_ensemble] [--test_only] [--gan_k GAN_K] [--lr LR] [--lr_decay LR_DECAY] [--decay_type DECAY_TYPE] [--gamma GAMMA] [--optimizer {SGD,ADAM,RMSprop}] [--momentum MOMENTUM] [--beta1 BETA1] [--beta2 BETA2] [--epsilon EPSILON] [--weight_decay WEIGHT_DECAY] [--loss LOSS] [--skip_threshold SKIP_THRESHOLD] [--n_resgroups N_RESGROUPS] [--reduction REDUCTION] [--testpath TESTPATH] [--testset TESTSET] [--degradation DEGRADATION] main.py: error: unrecognized arguments: --save_results --save SEAN