Skip to content

Commit

Permalink
fix(README & model) some typos (#1256)
Browse files Browse the repository at this point in the history
fix(README & model) some typos
  • Loading branch information
Yulv-git committed Apr 19, 2022
1 parent 1dee0f7 commit 68408b4
Show file tree
Hide file tree
Showing 12 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ This repo is an implementation of PyTorch version YOLOX, there is also a [MegEng
* 【2021/07/26】 We now support [MegEngine](https://github.com/Megvii-BaseDetection/YOLOX/tree/main/demo/MegEngine) deployment.
* 【2021/07/20】 We have released our technical report on [Arxiv](https://arxiv.org/abs/2107.08430).

## Comming soon
## Coming soon
- [ ] YOLOX-P6 and larger model.
- [ ] Objects365 pretrain.
- [ ] Transformer modules.
Expand Down
2 changes: 1 addition & 1 deletion demo/MegEngine/python/models/darknet.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def __init__(
Args:
depth (int): depth of darknet used in model, usually use [21, 53] for this param.
in_channels (int): number of input channels, for example, use 3 for RGB image.
stem_out_channels (int): number of output chanels of darknet stem.
stem_out_channels (int): number of output channels of darknet stem.
It decides channels of darknet layer2 to layer5.
out_features (Tuple[str]): desired output layer name.
"""
Expand Down
2 changes: 1 addition & 1 deletion demo/OpenVINO/cpp/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ source ~/.bashrc

1. Export ONNX model

Please refer to the [ONNX toturial](../../ONNXRuntime). **Note that you should set --opset to 10, otherwise your next step will fail.**
Please refer to the [ONNX tutorial](../../ONNXRuntime). **Note that you should set --opset to 10, otherwise your next step will fail.**

2. Convert ONNX to OpenVINO

Expand Down
2 changes: 1 addition & 1 deletion demo/OpenVINO/python/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ source ~/.bashrc

1. Export ONNX model

Please refer to the [ONNX toturial](https://github.com/Megvii-BaseDetection/YOLOX/demo/ONNXRuntime). **Note that you should set --opset to 10, otherwise your next step will fail.**
Please refer to the [ONNX tutorial](https://github.com/Megvii-BaseDetection/YOLOX/demo/ONNXRuntime). **Note that you should set --opset to 10, otherwise your next step will fail.**

2. Convert ONNX to OpenVINO

Expand Down
2 changes: 1 addition & 1 deletion docs/updates_note.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ python tools/train.py -n yolox-s -d 8 -b 64 --fp16 -o [--cache]

### Higher performance

New models achive **~1%** higher performance! See [Model_Zoo](model_zoo.md) for more details.
New models achieve **~1%** higher performance! See [Model_Zoo](model_zoo.md) for more details.

### Support torch amp

Expand Down
2 changes: 1 addition & 1 deletion tools/demo.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def make_parser():
"--exp_file",
default=None,
type=str,
help="pls input your experiment description file",
help="please input your experiment description file",
)
parser.add_argument("-c", "--ckpt", default=None, type=str, help="ckpt for eval")
parser.add_argument(
Expand Down
2 changes: 1 addition & 1 deletion tools/eval.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def make_parser():
"--exp_file",
default=None,
type=str,
help="pls input your expriment description file",
help="please input your experiment description file",
)
parser.add_argument("-c", "--ckpt", default=None, type=str, help="ckpt for eval")
parser.add_argument("--conf", default=None, type=float, help="test conf")
Expand Down
2 changes: 1 addition & 1 deletion tools/export_onnx.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def make_parser():
"--exp_file",
default=None,
type=str,
help="expriment description file",
help="experiment description file",
)
parser.add_argument("-expn", "--experiment-name", type=str, default=None)
parser.add_argument("-n", "--name", type=str, default=None, help="model name")
Expand Down
2 changes: 1 addition & 1 deletion tools/export_torchscript.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def make_parser():
"--exp_file",
default=None,
type=str,
help="expriment description file",
help="experiment description file",
)
parser.add_argument("-expn", "--experiment-name", type=str, default=None)
parser.add_argument("-n", "--name", type=str, default=None, help="model name")
Expand Down
2 changes: 1 addition & 1 deletion tools/trt.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def make_parser():
"--exp_file",
default=None,
type=str,
help="pls input your expriment description file",
help="please input your experiment description file",
)
parser.add_argument("-c", "--ckpt", default=None, type=str, help="ckpt path")
parser.add_argument(
Expand Down
2 changes: 1 addition & 1 deletion yolox/evaluators/coco_evaluator.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ def evaluate(
with torch.no_grad():
imgs = imgs.type(tensor_type)

# skip the the last iters since batchsize might be not enough for batch inference
# skip the last iters since batchsize might be not enough for batch inference
is_time_record = cur_iter < len(self.dataloader) - 1
if is_time_record:
start = time.time()
Expand Down
2 changes: 1 addition & 1 deletion yolox/evaluators/voc_evaluator.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ def evaluate(
with torch.no_grad():
imgs = imgs.type(tensor_type)

# skip the the last iters since batchsize might be not enough for batch inference
# skip the last iters since batchsize might be not enough for batch inference
is_time_record = cur_iter < len(self.dataloader) - 1
if is_time_record:
start = time.time()
Expand Down

0 comments on commit 68408b4

Please sign in to comment.