[Docs] Fixed typo in pytorch2torchscript.md ()

* [Docs] Fixed typo in pytorch2torchscript.md

* [Docs] Fixed W293 blank line contains whitespace
pull/1171/merge
unseenme 2022-11-09 12:03:12 +09:00 committed by GitHub
parent 9b1cd5c3b1
commit 4a3ad4f652
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View File

@ -35,7 +35,7 @@ python tools/deployment/pytorch2torchscript.py \
Example:
```bash
python tools/deployment/pytorch2onnx.py \
python tools/deployment/pytorch2torchscript.py \
configs/resnet/resnet18_8xb16_cifar10.py \
--checkpoint checkpoints/resnet/resnet18_8xb16_cifar10.pth \
--output-file checkpoints/resnet/resnet18_8xb16_cifar10.pt \

View File

@ -33,7 +33,7 @@ python tools/deployment/pytorch2torchscript.py \
示例:
```bash
python tools/deployment/pytorch2onnx.py \
python tools/deployment/pytorch2torchscript.py \
configs/resnet/resnet18_8xb16_cifar10.py \
--checkpoint checkpoints/resnet/resnet18_b16x8_cifar10.pth \
--output-file checkpoints/resnet/resnet18_b16x8_cifar10.pt \

View File

@ -179,7 +179,7 @@ class ClassBalancedDataset(object):
.. math::
r(c) = \max(1, \sqrt{\frac{t}{f(c)}})
where :math:`t` is `oversample_thr`.
3. For each image I and its labels :math:`L(I)`, compute the image-level
repeat factor.