Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
4.4k views
in Technique[技术] by (71.8m points)

run_drnn.py: error: too few arguments参数问题

usage: run_drnn.py [-h] [-e EMBEDDING_INITIALIZE] [-es EMBEDDING_SIZE]
? ? ? ? ? ? ? ? ? ?[-o OPTIMIZER] [-l LEARNING_RATE] [-b BATCH_SIZE]
? ? ? ? ? ? ? ? ? ?[-w WINDOW_SIZE] [-ah ATTENTION_HEAD] [-ab ATTENTION_BLOCK]
? ? ? ? ? ? ? ? ? ?[-ad ATTENTION_DROP] [-msl MAX_SEQUENCE_LENGTH]
? ? ? ? ? ? ? ? ? ?[-ebi EVAL_BATCH_INTERVAL] [-ebs EVAL_BATCH_SIZE]
? ? ? ? ? ? ? ? ? ?[-du DISAN_UNITS] [-d] [-r RNN_DROPOUT] [-fd FC_DROP]
? ? ? ? ? ? ? ? ? ?[-f XAVIER_FACTOR] [-fa1 FC_ACTIVATION_1]
? ? ? ? ? ? ? ? ? ?[-fa2 FC_ACTIVATION_2] [-aa ATTENTION_ACTIVATION]
? ? ? ? ? ? ? ? ? ?[-is INCEPTION_SIZE] [-n] [-fbe] [-fee] [-pa] [-nf] [-cv]
? ? ? ? ? ? ? ? ? ?[-ld] [-at ATTENTION_TYPE] [-et ENCODE_TYPE]
? ? ? ? ? ? ? ? ? ?[-ft FEATURE_TYPE] [-l2] [-gs GLOBAL_SIZE]
? ? ? ? ? ? ? ? ? ?[-efe ENCODER_FIXED_EPOCH] [-gt GLOBAL_TYPE]
? ? ? ? ? ? ? ? ? ?[-cd CHECKPOINT_DIR] [-pm]
? ? ? ? ? ? ? ? ? ?config
run_drnn.py: error: too few arguments

我的参数中添加了runfile('E:/pythonprojects/Encoder1-Encoder2-master/src/run_drnn.py', args=['-b', '128', '-msl', '100', '-ebi', '2000', '-o', 'Adadelta', '-l', '1', '-r', '0.1', '-fd', '0.2', '-et', 'cnn', '-at', 'same_init', '-ft', 'cnn', '-ld', '-fee', '-l2', '-w', '15'], wdir='E:/pythonprojects/Encoder1-Encoder2-master/src')但是还是报错我少参数,有.config文件,但是没有在参数中,求求大佬帮帮忙


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
等待大神解答

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

2.1m questions

2.1m answers

60 comments

57.0k users

...