lllcho / CAPTCHA-breaking

MIT License
224 stars 82 forks source link

nb_model.add(Convolution2D(32, 1, 4, border_mode='full', activation='relu', W_regularizer=l2(weight_decay)))报错 #9

Open xaiomoqing opened 6 years ago

xaiomoqing commented 6 years ago

您好大神,现在无法运行,是因为keras版本跟新的问题么? TypeError: Layer can receive at most 3 positional arguments. ValueError: The padding argument must be one of "valid", "same" (or "causal" for Conv1D). Received: full 小白不太懂,请问怎么修改呢?

lllcho commented 6 years ago

这个确实是版本问题,建议根据keras新api重新搭建模型。