1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Anuncie Aqui
    Anuncie aqui você Também: fdantas@4each.com.br

[Python] Python library recommendation for the implementation of a neural network modification...

Discussão em 'Python' iniciado por Stack, Novembro 22, 2025.

  1. Stack

    Stack Membro Participativo

    I want to implement in python some algorithms from a paper that allow for a pre-trained neural network to be modified (adding or removing neurons or layers) conserving (theoretically) the outputs of the network over the training data.

    I've researched a bit on pytorch, keras and tensorflow and I'm not sure which one is more efficient for implementing this algorithms. For instance, in pytorch I've created a function that implements the neuron addition algorithm by cloning the pre-trained network to a bigger network and adjusting the weights. This approach seems rather inefficient to me.

    I think that implementing this algorithms from scratch in numpy wouldn't be as useful for further research. Do you know of a library in which I could freely add and remove neurons and change weights while being efficient?

    Continue reading...

Compartilhe esta Página