Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
4.5k 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 Reply

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

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

1.4m articles

1.4m replys

5 comments

57.0k users

...