stephenjfox / Morph.py

A neural architecture optimizer, targeted at model-size w.r.t. accuracy
GNU General Public License v3.0
16 stars 2 forks source link

Doesn't support multi-headed output architectures #12

Open stephenjfox opened 5 years ago

stephenjfox commented 5 years ago

Lying somewhere between a bug and a feature enhancement, the current iteration of the nn.Module.children assumes that the layers are in a sequence (like a significantly deep convolutional network).

It does not however, consider that the children it encounters are all siblings, rather than always being parent-child relationships.

Some architectures that may be negatively impacted by this: