Skip to content

Experiments with NN models having >1000 parameters & simulation freeze in OpenModelica #31

Description

@awecefil

Hi, thanks for your great work on this project!

I have a question regarding the use of neural networks with a large number of parameters in OpenModelica.

I modified the provided Dense layer so that it can directly read weights and biases from a .mat file (instead of manually pasting parameters into the model because it is not possible to paste all parameters into the parameter field in OpenModelica due to size limitations). The implementation works correctly for small networks.

However, when I try using a neural network with more than ~1000 parameters, I encounter two issues:

When the number of parameters becomes large, the simulation does not start.
As soon as I press Simulate, OpenModelica freezes and never proceeds to the simulation stage.

So I’d like to ask:

  1. Have you ever tested your NN implementation with networks containing more than 1000 parameters?
  2. Are there known limitations in OpenModelica regarding large NN structures?

Any guidance would be greatly appreciated. Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions