From 4e252708519b10ba0aec2f4b6b3e7a850b7c86eb Mon Sep 17 00:00:00 2001 From: Gee <17325189+GeeCastro@users.noreply.github.com> Date: Wed, 26 Jun 2024 06:33:43 +0200 Subject: [PATCH] Update README.md (#3155) Co-authored-by: Matthias Reso <13337103+mreso@users.noreply.github.com> --- model-archiver/README.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/model-archiver/README.md b/model-archiver/README.md index b127ba41df..0edb788c08 100644 --- a/model-archiver/README.md +++ b/model-archiver/README.md @@ -49,7 +49,12 @@ Now let's cover the details on using the CLI tool: `model-archiver`. Here is an example usage with the densenet161 model archive following the example in the [examples README](../examples/README.md): ```bash -torch-model-archiver --model-name densenet161 --version 1.0 --model-file examples/image_classifier/densenet_161/model.py --serialized-file densenet161-8d451a50.pth --extra-files examples/image_classifier/index_to_name.json --handler image_classifier +torch-model-archiver --model-name densenet161 \ + --version 1.0 \ + --model-file examples/image_classifier/densenet_161/model.py \ + --serialized-file densenet161-8d451a50.pth \ + --extra-files examples/image_classifier/index_to_name.json \ + --handler image_classifier ``` ### Arguments