-
Notifications
You must be signed in to change notification settings - Fork 1
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
Command-line interface #61
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Discussed in #60
Originally posted by jonasteuwen January 29, 2024
Currently the inference is not straightforward to use. Since external users will most likely run the inference on the models we make available, I think we need a convenient interface.
For instance, I would propose a command like:
ahcore inference s3:https://s3.aiforoncology.nl/ahcore/tissue_background.ckpt file_list.txt --num-gpus 2
The idea is that file_list is of the form:
Additionally, we could have flags such as
--input-dir
and--output-dir
that give the directory to which the paths infile_list.txt
would be relative to.What I think it requires is: a convenient script that converts such a
file_list.txt
into an in memory sqlite database, and bootstrap what we already have. Perhaps we also need something likeahcore pack-model
that takes a checkpoint, and adds the configuration and other convenient metadata (version of ahcore for instance).Probably we would also want to be able to inference on a single slide, how would we do that? Perhaps have
batch-inference
andinference
?Happy to hear your suggestions!
The text was updated successfully, but these errors were encountered: