a guest Jan 18th, 2019 56 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- def build(self):
- input_layer = Input(shape=(self.col_amt,))
- encoded = Dense(math.ceil(self.col_amt/2), activation='relu')(input_layer)
- decoded = Dense(self.col_amt, activation='sigmoid')(encoded)
- model = Model(input_layer, decoded)
- model.compile(optimizer='adadelta', loss='binary_crossentropy')
- return model
- TypeError: __call__() missing 1 required positional argument: 'inputs'
RAW Paste Data