keras-surgeon icon indicating copy to clipboard operation
keras-surgeon copied to clipboard

can it support delete filters Functionality ?

Open machehoffman opened this issue 4 years ago • 3 comments

Hi, Is there an ability to delete filters in a convolution layer (Conv2d) ?

machehoffman avatar Jun 01 '21 19:06 machehoffman

Hi ,yes it can by model = delete_channels(model, layer_2, [0,4,67])

FBehrad avatar Jul 13 '21 04:07 FBehrad

Hi

keras symbolic inputs/outputs do not implement 'len'.

why it gives me this error? Could you please help me with that?

bsaberla avatar Jul 15 '21 00:07 bsaberla

@bsaberla i opened this pull request, copied the changes to the utils.py file and it worked

arthurgsf avatar Aug 09 '21 23:08 arthurgsf