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文件,但是没有在参数中,求求大佬帮帮忙
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论