Skip to content

Commit

Permalink
Update README.md (#3155)
Browse files Browse the repository at this point in the history
Co-authored-by: Matthias Reso <13337103+mreso@users.noreply.github.com>
  • Loading branch information
GeeCastro and mreso committed Jun 26, 2024
1 parent 7a9b145 commit 4e25270
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion model-archiver/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4e25270

Please sign in to comment.