broadinstitute / keras-resnet

Keras package for deep residual networks
Other
300 stars 127 forks source link

allow prefixes to the layer names #50

Open yfarjoun opened 5 years ago

yfarjoun commented 5 years ago

If one wants to have two ResNets in the same model it doesn't seem to be possible since the two ResNets will have layers with the same name. It could be possible to get around this by adding optional prefixes to the layers.

hgaiser commented 5 years ago

Why not wrap the model in a new model so that it appears as one big layer? You can name that model whatever you want then.

On Sun, 2 Dec 2018, 22:31 Yossi Farjoun <notifications@github.com wrote:

If one wants to have two ResNets in the same model it doesn't seem to be possible since the two ResNets will have layers with the same name. It could be possible to get around this by adding optional prefixes to the layers.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/broadinstitute/keras-resnet/issues/50, or mute the thread https://github.com/notifications/unsubscribe-auth/AArtauYfA4_qkC5X1ESISci7tYvbrhMtks5u1EaxgaJpZM4Y9nLO .

yfarjoun commented 5 years ago

the problem is the sublayers all have the same names..