Skip to content
Snippets Groups Projects
Commit 582831ac authored by André Anjos's avatar André Anjos :speech_balloon:
Browse files

[scripts] Fix usage docs

parent 1b27a248
No related branches found
No related tags found
No related merge requests found
Pipeline #79486 failed
......@@ -25,7 +25,7 @@ logger = setup(__name__.split(".")[0], format="%(levelname)s: %(message)s")
.. code:: sh
ptbench saliency-completeness -vv pasa tbx11k-v1-healthy-vs-atb --device="cuda" --weight=path/to/model_final.pth --output-folder=path/to/completeness-scores/
ptbench saliency-completeness -vv pasa tbx11k-v1-healthy-vs-atb --device="cuda" --weight=path/to/model_final.ckpt --output-folder=path/to/completeness-scores/
""",
)
......
......@@ -257,10 +257,10 @@ def train(
"""Trains an CNN to perform image classification.
Training is performed for a configurable number of epochs, and
generates at least a final_model.pth. It may also generate a number
of intermediate checkpoints. Checkpoints are model files (.pth
files) that are stored during the training and useful to resume the
procedure in case it stops abruptly.
generates at least a final_model.ckpt. It may also generate a
number of intermediate checkpoints. Checkpoints are model files
(.ckpt files) that are stored during the training and useful to
resume the procedure in case it stops abruptly.
"""
import torch
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment