error: unrecognized arguments: 问题求大神解决

D:\python\python.exe D:/pytorchdemo/main.py “”
usage: main.py [-h] [–input_channels INPUT_CHANNELS]
[–class_count CLASS_COUNT] [–lr LR] [–momentum MOMENTUM]
[–weight_decay WEIGHT_DECAY] [–num_epochs NUM_EPOCHS]
[–batch_size BATCH_SIZE] [–pretrained_model PRETRAINED_MODEL]
[–config {121,169,201,264}] [–num_features NUM_FEATURES]
[–compress_factor COMPRESS_FACTOR]
[–expand_factor EXPAND_FACTOR] [–growth_rate GROWTH_RATE]
[–mode {train,test}] [–use_gpu USE_GPU]
[–use_tensorboard USE_TENSORBOARD] [–data_path DATA_PATH]
[–train_data_path TRAIN_DATA_PATH] [–train_x_key TRAIN_X_KEY]
[–train_y_key TRAIN_Y_KEY] [–test_data_path TEST_DATA_PATH]
[–test_x_key TEST_X_KEY] [–test_y_key TEST_Y_KEY]
[–log_path LOG_PATH] [–model_save_path MODEL_SAVE_PATH]
[–loss_log_step LOSS_LOG_STEP]
[–model_save_step MODEL_SAVE_STEP]
[–train_eval_step TRAIN_EVAL_STEP]
main.py: error: unrecognized arguments:

Process finished with exit code 2

训练模型,参数无法传入

你可能感兴趣的:(python,深度学习)