Hi, I’m trying to make a Julia package that has multi-language supports, especially Python.
Background
The following repo exports some predefined neural networks, compatible with Flux.jl.
https://github.com/JinraeKim/ParametrisedConvexApproximators.jl
I’d like to make the neural networks PyTorch-compatible.
So, I thought that two options may be available.
- Using some packages, export networks from Flux.jl to PyTorch.
- Write a new script for PyTorch-compatible neural networks.
I tried to do 1. but I failed it. So I’m trying to write a new script for PyTorch-version neural networks. That is, some scripts like neural_networks.py
.
Questions
- Is it a good idea to add some Python scripts within a Julia package?
- Is there any alternative way to accomplish what I desire? Like, exporting Flux.jl-based neural networks to a PyTorch one.