-
```
import numpy as np
import keras
model = keras.models.Sequential()
model.add(keras.layers.Dense(2, activation='relu', input_shape=(2,),use_bias=False)) # hidden layer
model.add(keras.layers.De…
-
Platform : Windows 10
Python version: 3.7.9
Source framework with version: Caffe 1.x
Destination framework with version: keras (tensorflow 1.15)
Pre-trained model path: OpenPose Body 25 https:…
-
**Describe the problem**.
A model that contains a nested `WideDeepModel` submodel throws an error when saved. The problem goes back at least since TFv2.9. I've tested the latest nightly and the iss…
-
# Ask a Question
### Question
The LayerNormalization was translate to some operators and BatchNormalization, when I use opset=17。
I hope it could be a unique operator rather than a series of ope…
-
When running the code I get the following error.
```
Using Theano backend.
model.py:20: UserWarning: Update your `LSTM` call to the Keras 2 API: `LSTM(kernel_initializer="glorot_normal", input_sh…
-
https://github.com/MathiasGruber/PConv-Keras/blob/7c8f2cb3ceafe4246db3b3634ede4681d3936d0a/libs/pconv_model.py#L264
Rebuilding the model without the init options gives error when training on multi …
-
If we use validation_split, there will be data leakage. Therefore, we need to make sure the validation set is constant by using validation_data parameter, instead of validation_split.
```
def get_…
-
Hello
How are you?
Thanks for contributing this project.
I made a Keras model for liveness detection, which inputs a cropped face image resized to size 224x224 and outputs a liveness score.
I conv…
-
## Full code using synthetic data to exemplify error message
import pandas as pd
import numpy as np
from tensorflow.keras.optimizers import Adam
from tensorflow.keras.losses import MSE
from ten…
-
Hi, I am trying to train the same model on my own images and got the following error. I am new to this field so I hope to get some detailed information. Executed the following code and got an error - …