jozi
jozi
this is my model ``` model = Sequential() model.add(Bidirectional(LSTM(CONFIG.hidden_size, return_sequences=True),input_shape=(CONFIG.max_input_len,CONFIG.number_of_chars))) model.add(Dropout(CONFIG.amount_of_dropout)) model.add(TimeDistributed(Dense(n_classes, activation='softmax'),input_shape=(CONFIG.max_input_len, CONFIG.number_of_chars))) model.add(Dropout(0.2)) crf = CRFLayer() model.add(crf(inputs=[CONFIG.max_input_len,CONFIG.number_of_chars])) model.compile(loss=crf.loss, optimizer='rmsprop', metrics=['accuracy']) ``` and get a error ValueError: Layer crf_layer_1...
get this error when run extract_weights.py in line 97 : b = np.concatenate((Wib,Wfb,Wob,Whb), axis=1) ValueError: all the input arrays must have same number of dimensions