Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Neural networks #3

Closed
odow opened this issue May 21, 2024 · 2 comments
Closed

Neural networks #3

odow opened this issue May 21, 2024 · 2 comments

Comments

@odow
Copy link
Collaborator

odow commented May 21, 2024

Prior art

ONNX

https://onnx.ai/about.html

OMLT

Supports ONNX

https://github.com/cog-imperial/OMLT/tree/main/src/omlt/neuralnet
https://github.com/cog-imperial/OMLT/blob/main/src/omlt/io/onnx_parser.py

Gurobi

Does not support ONNX

Use explicit bindings to PyTorch and tensorflow:

Supports only sequential NNs with ReLU and linear layers

Julia options

ONNX.jl

Seems partially supported. Not well maintained. The issue is the diversity of possible input models and their mapping to Julia.

Flux

Popular, if heavy, choice. Lots of options.

Lux

Well maintained. Simple. No ONNX support?

@odow
Copy link
Collaborator Author

odow commented Jun 6, 2024

#9 adds:

  • Basic Lux support
  • Linear layers
  • ReLU

@odow
Copy link
Collaborator Author

odow commented Jun 7, 2024

We're missing ONNX support, but I'm going to close this until we pin down exactly how people will be using this library in Julia. It might be easier to use something like PyCall.

@odow odow closed this as completed Jun 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant