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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using Aim from Julia? #2258

Open
kir0ul opened this issue Oct 7, 2022 · 4 comments
Open

Using Aim from Julia? #2258

kir0ul opened this issue Oct 7, 2022 · 4 comments
Labels
area / integrations Issue area: integrations with other tools and libs phase / exploring Issue phase: issue is in discovery phase type / enhancement Issue type: new feature or request

Comments

@kir0ul
Copy link

kir0ul commented Oct 7, 2022

馃殌 Feature

Would it be possible to use Aim from Julia?

Motivation

I'm starting to get lost in tracking my ML experiments in Julia and would really benefit from having a dedicated software to help me.

Pitch

I guess one would have to create an Aim.jl wrapper.

Alternatives

DrWatson, but features are a lot more limited.

@kir0ul kir0ul added the type / enhancement Issue type: new feature or request label Oct 7, 2022
@kir0ul kir0ul changed the title Use Aim from Julia? Using Aim from Julia? Oct 7, 2022
@gorarakelyan
Copy link
Contributor

@kir0ul thanks for submitting this issue!

Yes, probably the fastest way would be implementing a Julia wrapper. I just came across PyCall package which enables running python commands from Julia. @tmynn could you please take a look at this?

@gorarakelyan gorarakelyan added area / integrations Issue area: integrations with other tools and libs phase / exploring Issue phase: issue is in discovery phase labels Oct 9, 2022
@tamohannes
Copy link
Contributor

Hey @kir0ul, great suggestion! I will take it over in the coming week. Also will keep you in the loop, as I believe your experience with Julia will be a huge help in figuring out the right integration design and experience 馃檶

@tamohannes
Copy link
Contributor

tamohannes commented Oct 11, 2022

Hey @kir0ul, honestly speaking I am not familiar with the programming language Julia. However I have just found out that there is a way to import any Python package from a Julia script.
I have just tested the following script and it seems to be behave as expected:

using Pkg
Pkg.add("PyCall")
using PyCall
@pyimport aim
run = aim.Run(experiment="julia_test")

Note: If you get an error on the import line set the python path as follows after which rebuild the env:

ENV["PYTHON"] = "THE_PATH"
Pkg.build("PyCall")

I believe one can use this approach for a quick start. What do you think?

@kir0ul
Copy link
Author

kir0ul commented Oct 12, 2022

Hey @tmynn, I'm still a beginner with Julia, but as far as I can tell by having a quick look at other Julia wrappers, it looks like it is what other people are doing to wrap Python code from Julia, see for example TensorFlow.jl or Seaborn.jl.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area / integrations Issue area: integrations with other tools and libs phase / exploring Issue phase: issue is in discovery phase type / enhancement Issue type: new feature or request
Projects
None yet
Development

No branches or pull requests

3 participants