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

simple python API #56

Open
alisterburt opened this issue Feb 8, 2024 · 1 comment
Open

simple python API #56

alisterburt opened this issue Feb 8, 2024 · 1 comment

Comments

@alisterburt
Copy link
Member

At the moment membrain seg is a command line tool - it would be great to enable its use as a Python only library too, thoughts?

https://teamtomo.org/fidder/ is a good example of the kind of API I think would work well

Current blocker is the lack of caching of model weights - a pooch cache should fix this nicely

Thoughts @LorenzLamm ?

@LorenzLamm
Copy link
Collaborator

Yes, agreed that it would be nice to use it as a library, too.

For my understanding: You mean the current blocker is that no model path is specified by default (with environment variables or whatever) and would need to be provided in each call a Python function?

If that's what's blocking, let's try to solve the environment variable and/or pooch cache. :)

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