From 9e2a9cbd526c4ea7e77a03b2a534675774ed11d7 Mon Sep 17 00:00:00 2001 From: Junjun2016 Date: Fri, 2 Jul 2021 21:39:50 +0800 Subject: [PATCH] Update useful_tools.md --- docs/useful_tools.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/useful_tools.md b/docs/useful_tools.md index b39bf5dc5..b2c11f6e8 100644 --- a/docs/useful_tools.md +++ b/docs/useful_tools.md @@ -44,7 +44,7 @@ The final output filename will be `psp_r50_512x1024_40ki_cityscapes-{hash id}.pt ### Convert to ONNX (experimental) -We provide a script to convert model to [ONNX](https://github.com/onnx/onnx) format. The converted model could be visualized by tools like [Netron](https://github.com/lutzroeder/netron). Besides, we also support comparing the output results between Pytorch and ONNX model. +We provide a script to convert model to [ONNX](https://github.com/onnx/onnx) format. The converted model could be visualized by tools like [Netron](https://github.com/lutzroeder/netron). Besides, we also support comparing the output results between PyTorch and ONNX model. ```bash python tools/pytorch2onnx.py \ @@ -136,7 +136,7 @@ Description of all arguments ### Convert to TorchScript (experimental) -We also provide a script to convert model to [TorchScript](https://pytorch.org/docs/stable/jit.html) format. You can use the pytorch C++ API [LibTorch](https://pytorch.org/docs/stable/cpp_index.html) inference the trained model. The converted model could be visualized by tools like [Netron](https://github.com/lutzroeder/netron). Besides, we also support comparing the output results between Pytorch and TorchScript model. +We also provide a script to convert model to [TorchScript](https://pytorch.org/docs/stable/jit.html) format. You can use the pytorch C++ API [LibTorch](https://pytorch.org/docs/stable/cpp_index.html) inference the trained model. The converted model could be visualized by tools like [Netron](https://github.com/lutzroeder/netron). Besides, we also support comparing the output results between PyTorch and TorchScript model. ```shell python tools/pytorch2torchscript.py \