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

Loading ilastik as a Python library #2855

Open
ocramz-mhc opened this issue May 2, 2024 · 2 comments
Open

Loading ilastik as a Python library #2855

ocramz-mhc opened this issue May 2, 2024 · 2 comments

Comments

@ocramz-mhc
Copy link

Description

I think it would make a lot of sense to be able to load ilastik as a Python library in order to script interactions etc.

Scenario

As a user, I would import ilastik as il and then do my work with the il object

Rationale

By having model comparison code (ilastik vs other libraries) in a single Python script, we could use nice language features (e.g. exception handling) as well as advanced deployment options (e.g. Ray clusters)

@k-dominik
Copy link
Contributor

Hello @ocramz-mhc,

we're working on having ilastik available from Python in a nice way. This is currently limited to pre-trained pixel classification projects, but we're planning to add more.

@ocramz-mhc
Copy link
Author

Thank you @k-dominik for the quick response!

Indeed, most of the value of ilastik is with its UI and the advanced defaults it offers. I imagine a two-step workflow in which model training is done via the UI and pretrained models can be loaded and executed via Python scripts. I think investing a bit into the packaging story will be very appreciated and even expand the contributor base.

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

2 participants