-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
cf5d244
commit 070bcc2
Showing
3 changed files
with
33 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,12 @@ | ||
Inference via CLI | ||
----------------- | ||
|
||
You can use the CLI to run inference on an image or folder containing several images. | ||
Command Line Interface (CLI) | ||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ||
You can use the CLI to run inference on an image or folder containing several images. To do that, you can use the following command | ||
|
||
To do that, simply use the following command: | ||
.. code-block:: console | ||
.. code-block:: | ||
$ spotiflow predict --input PATH | ||
spotiflow-predict PATH | ||
where PATH can be either an image or a folder. | ||
|
||
By default, the command will use the `general` pretrained model. You can specify a different model by using the `-\-pretrained-model` flag or the `-\-model-dir` flag for a model you trained yourself. | ||
|
||
Moreover, spots are saved to a subfolder `spotiflow_results` created inside the input folder (this can be changed with the `-\-out-dir` flag). | ||
|
||
For more information, please refer to the help message of the CLI: | ||
|
||
.. code-block:: | ||
spotiflow-predict -h | ||
where ``PATH`` can be either an image or a folder. By default, the command will use the ``general`` pretrained model. You can specify a different model by using the ``--pretrained-model`` flag. Moreover, spots are saved to a subfolder ``spotiflow_results`` created inside the input folder (this can be changed with the ``--out-dir`` flag). For more information, please refer to the help message of the CLI (``spotiflow-predict -h``). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters