gosha20777 / keras2cpp

it's a small library for running trained Keras 2 models from a native C++ code.
MIT License
183 stars 54 forks source link

VC++ Conv2D runtime error #26

Open Mad-Proger opened 3 years ago

Mad-Proger commented 3 years ago

MSVS detects exception in vector 'cannot seek iterator after end' while computing this model

model = keras.Sequential()
model.add(keras.layers.Conv2D(3, 3, input_shape=(8, 8, 1))
Tensor input(8, 8, 1);
input.fill(0.5);
Tensor output = model(x);