Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

测试报错。 #7

Open
zkh123456789 opened this issue Sep 17, 2023 · 2 comments
Open

测试报错。 #7

zkh123456789 opened this issue Sep 17, 2023 · 2 comments

Comments

@zkh123456789
Copy link

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

@zkh123456789
Copy link
Author

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

@IceyWuu
Copy link

IceyWuu commented Nov 13, 2024

Same with this one #4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants