This repository has been archived by the owner on Oct 19, 2024. It is now read-only.
Command-line interface #60
jonasteuwen
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
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://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!
Beta Was this translation helpful? Give feedback.
All reactions