'Got an unexpected keyword argument 'activation'
import keras.models
import tensorflow
from keras.models import Sequential
from keras.backend import conv2d
model = Sequential()
model.add(conv2d(32,(3,3), activation = 'relu', kernel_initializer = 'he_uniform', padding = 'same', input_shape = (32,32, 3)))
model.add(conv2d(32,(3,3), activation = 'relu', kernel_initializer = 'he_uniform', padding = 'same'))
model.add(MaxPooling2D((2,2)))
Error: TypeError: Got an unexpected keyword argument 'activation'
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
