Skip to content

Commit 14526fe

Browse files
authored
Merge pull request #87 from kneron:fix_typos
Fix_typos
2 parents c5ef7a9 + 336caaf commit 14526fe

22 files changed

Lines changed: 55 additions & 57 deletions

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@ __pycache__
22
site/
33
scripts/generated_tests/
44
nohup.out
5-
error.log
5+
*.log
66
*.pyc
77
.vscode/settings.json

docs/520_2.0.0/sdk/solution_kdp2_host_mipi.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ User can edit and debug with Keil MDK for further implementation [keil/MDK docs
2727
# bin_gen.py will concatenate SCPU/NCPU FW, models_520.nef to generate flash_image.bin
2828
# Note that you may need to substitute '/' for '\' in the path
2929
```
30-
```
3130

3231
- **Program the firmware bin image**
3332
Reference: [Jlink programming](../flash_management/flash_management.md#4-program-flash-via-jtagswd-interface)

docs/520_2.1.0/sdk/solution_kdp2_host_mipi.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ User can edit and debug with Keil MDK for further implementation [keil/MDK docs
2727
# bin_gen.py will concatenate SCPU/NCPU FW, models_520.nef to generate flash_image.bin
2828
# Note that you may need to substitute '/' for '\' in the path
2929
```
30-
```
3130

3231
- **Program the firmware bin image**
3332
Reference: [Jlink programming](../flash_management/flash_management.md#4-program-flash-via-jtagswd-interface)

docs/520_2.2.0/sdk/solution_kdp2_host_mipi.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ User can edit and debug with Keil MDK for further implementation [keil/MDK docs
2727
# bin_gen.py will concatenate SCPU/NCPU FW, models_520.nef to generate flash_image.bin
2828
# Note that you may need to substitute '/' for '\' in the path
2929
```
30-
```
3130

3231
- **Program the firmware bin image**
3332
Reference: [Jlink programming](../flash_management/flash_management.md#4-program-flash-via-jtagswd-interface)

docs/model_training/OpenMMLab/RSN18.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ If mmcv and mmcv-full are both installed, there will be `ModuleNotFoundError`.
4040

4141
# Step 1: Training models on standard datasets
4242

43-
MMPose provides hundreds of existing and existing pose models in [Model Zoo](https://mmpose.readthedocs.io/en/latest/modelzoo.html), and supports several standard datasets like COCO, MPII, FREIHAND, etc. This note demonstrates how to perform common object detection tasks with these existing models and standard datasets, including:
43+
MMPose provides hundreds of existing and existing pose models in [Model Zoo](https://mmpose.readthedocs.io/en/latest/model_zoo.html), and supports several standard datasets like COCO, MPII, FREIHAND, etc. This note demonstrates how to perform common object detection tasks with these existing models and standard datasets, including:
4444

4545
- Use existing models to inference on given images.
4646
- Test existing models on standard datasets.

docs/model_training/regression.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ lite_hrnet
8282
```
8383

8484
**For MPII data**, please download from [MPII Human Pose Dataset](http://human-pose.mpi-inf.mpg.de/).
85-
The original annotation files have been converted into json format, please download them from [mpii_annotations](https://openmmlab.oss-cn-hangzhou.aliyuncs.com/mmpose/datasets/mpii_annotations.tar).
85+
The original annotation files have been converted into json format, please download them from [mpii_annotations](https://download.openmmlab.com/mmpose/datasets/mpii_annotations.tar).
8686
Extract them under `$LITE_HRNET/data`, and make them look like this:
8787

8888
```

docs/toolchain/appendix/command_line.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -172,20 +172,20 @@ Here is an example JSON with comments. **Please remove all the comments in the r
172172
// [optional]
173173
// The encryption setting for the batch compiler. Default is not enabled.
174174
"encryption": {
175-
// Whether enable encrytion
175+
// Whether enable encryption
176176
"whether_encryption": false,
177-
// Encrytion mode selection
177+
// Encryption mode selection
178178
// Options: 1, 2
179179
"encryption mode": 1,
180-
// Encrytion key. A hex string. Required in mode 1.
180+
// Encryption key. A hex string. Required in mode 1.
181181
"encryption_key": "0x12345678",
182-
// Encrytion file. An absolute path. Required in mode 1.
182+
// Encryption file. An absolute path. Required in mode 1.
183183
"key_file": "/data1/enc.txt",
184-
// Encrytion key. A hex string. Required in mode 2, optional in mode 1.
184+
// Encryption key. A hex string. Required in mode 2, optional in mode 1.
185185
"encryption_efuse_key": "0x12345678"
186186
},
187187
// [optional]
188-
// Whether seperate buffers for each model output. Default is true.
188+
// Whether separate buffers for each model output. Default is true.
189189
"dedicated_output_buffer": true,
190190
// [optional]
191191
// Whether compress weight for saving space.

docs/toolchain/appendix/converters.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -430,7 +430,7 @@ it is the output of a `Gemm`, there is no need to do any more edition.
430430
the output, then the model is transposed into channel first. We can use the model editor to safely remove the
431431
`Transpose`.
432432

433-
**Step 3:** If the input shape is not availble or invalid, we can use the editor to give it a valid shape.
433+
**Step 3:** If the input shape is not available or invalid, we can use the editor to give it a valid shape.
434434

435435
**Step 4:** The model need to pass `onnx2onnx.py` again after running the editor. See
436436
[section 6](#6-onnx-to-onnx-onnx-optimization).
@@ -469,7 +469,7 @@ Cutting is not recommended to be done with other operations together.
469469
positional arguments:
470470
471471
in_file input ONNX FILE
472-
out_file ouput ONNX FILE
472+
out_file output ONNX FILE
473473
474474
optional arguments:
475475

docs/toolchain/appendix/history.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
* Add Einsum defusion in kneronnxopt.
2929
* Support Cast to int64 in knerex and compiler.
3030
* Support HardSwish, Topk and Split nodes in knerex and compiler.
31-
* Update the regression flow log printing. Print success log seperately from errors to avoid confusing.
31+
* Update the regression flow log printing. Print success log separately from errors to avoid confusing.
3232
* Update IP evaluator for DMA with small length.
3333
* Fix the kneronnxopt bug in `replace_Gather_with_Slice`.
3434
* Fix the knerex bug: node Concat channel mismatch.
@@ -40,7 +40,7 @@
4040
* Add `const_in_bitwidth_mode` option for quantization. The default is int16. Unless the customer particularly desires to increase the speed, it can be changed to int8
4141
* Update analyzer exception log.
4242
* Update kneronnxopt to set expanding dilated Conv to False by default.
43-
* Update kneronnxopt to diable fusing BatchNormalization into Conv by default.
43+
* Update kneronnxopt to disable fusing BatchNormalization into Conv by default.
4444
* Update compiler for the deep search memory estimation algorithm.
4545
* Update compiler to extend the timeout for deep search.
4646
* Update compiler to change expt/log/softmax to 16b.
@@ -51,7 +51,7 @@
5151
* **[v0.31.0]**
5252
* **Introduce `quan_config` for `ModelConfig.analysis` for more detailed quantization configuration.**
5353
* **Add `ktc.opt_and_eval` command for quick onnx optimization and evaluation.**
54-
* **Remove deprecated `compilerIpevaluator_730.sh` and add warning messages to other depecated scritps.**
54+
* **Remove deprecated `compilerIpevaluator_730.sh` and add warning messages to other deprecated scripts.**
5555
* Add `compiler_tiling` option for IP evaluator.
5656
* Add `--clear-shapes` and `--replace-avgpool-with-conv` flags to kneronnxopt.
5757
* Add `--seperate` flag to kneronnxopt.onnx_vs_onnx for detailed output comparison.
@@ -188,7 +188,7 @@
188188
* Support text procssing models.
189189
* Set flatbuffer as the default 720 compiling mode.
190190
* Refactor compiler and analyser inner structure.
191-
* **Due to the structure change, batch compiler do not backwark support previous bie files.**
191+
* **Due to the structure change, batch compiler do not backward support previous bie files.**
192192
* Refactor toolchain manual.
193193
* Bug fixes.
194194
* **[v0.19.0]**
@@ -198,10 +198,10 @@
198198
* ktc: Add `mode`, `optimize`, `export_dynasty_dump` argument to analysis.
199199
* ktc: Set `skip_verify` in analysis as deprecated.
200200
* regression: Add optimize option for optimization level selection.
201-
* regression: Fix interface to asure platform is integer.
201+
* regression: Fix interface to assure platform is integer.
202202
* converter: Add 720 batch process with `--opt-720` flag.
203203
* converter: Add enable shared weight duplication flag `-d`. By default, shared weights are no longer duplicated.
204-
* converter: Remove `-s` flag since it is now the default behavious.
204+
* converter: Remove `-s` flag since it is now the default behavior.
205205
* converter: Optimize debug output.
206206
* compiler: Fix RDMA not correctly executed.
207207
* E2E simulator: Change dynasty library fetching method.

docs/toolchain/appendix/nef_utils_guide.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
POST_ENC : -E(--enc) <nef_file_path> -n(--KN) "kn_number"; [Linux Only]
1515

1616
options:
17-
-o, --output : output file name prefix, defautl is "model_(target)"
18-
-O, --folder : output folder, defautl is "output/"
17+
-o, --output : output file name prefix, default is "model_(target)"
18+
-O, --folder : output folder, default is "output/"
1919
-V, --version : show version number
2020
-H, --help : show this message
2121

0 commit comments

Comments
 (0)