I am trying to use
layer_idx = utils.find_layer_idx(model, 'activation_1') model.layers[layer_idx].activation = activations.linear model = utils.apply_modifications(model) model.summary()
for my custom model
It gives me error TypeError: tuple indices must be integers or slices, not list
Please suggest solutions.
Looking forward for response.
Hi geeks
I am trying to use
layer_idx = utils.find_layer_idx(model, 'activation_1') model.layers[layer_idx].activation = activations.linear model = utils.apply_modifications(model) model.summary()
for my custom modelIt gives me error
TypeError: tuple indices must be integers or slices, not list
Please suggest solutions. Looking forward for response.