Skip to content

Commit

Permalink
Fix typos and docs link
Browse files Browse the repository at this point in the history
  • Loading branch information
mzr1996 committed Dec 5, 2022
1 parent b8e7cdf commit 5d1d929
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 7 deletions.
1 change: 0 additions & 1 deletion docs/en/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@
'sphinx.ext.napoleon',
'sphinx.ext.viewcode',
'sphinx.ext.autosectionlabel',
'sphinx_markdown_tables',
'myst_parser',
'sphinx_copybutton',
'sphinx.ext.autodoc.typehints',
Expand Down
10 changes: 5 additions & 5 deletions docs/en/migration/transform.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ we will compare the functionalities, usages and implementations between the orig
mode="range",
)</pre>
</td>
<td>Have the same resize function as <code>Resize</code>. Support sample the scale from a scale range or scale ratio range.
<td>Have the same resize function as <code>Resize</code>. Support sampling the scale from a scale range or scale ratio range.
<pre>RandomResize(scale=[(640, 480), (960, 720)])</pre>
</td>
</tr>
Expand All @@ -87,7 +87,7 @@ we will compare the functionalities, usages and implementations between the orig
mode="value",
)</pre>
</td>
<td>Have the same resize function as <code>Resize</code>. Support randomly choice the scale from multiple scales or multiple scale ratios.
<td>Have the same resize function as <code>Resize</code>. Support randomly choosing the scale from multiple scales or multiple scale ratios.
<pre>RandomChoiceResize(scales=[(640, 480), (960, 720)])</pre>
</td>
</tr>
Expand All @@ -99,9 +99,9 @@ we will compare the functionalities, usages and implementations between the orig
</tr>
<tr>
<td><code>RandomFlip</code></td>
<td>Randomly flip all images in the "img_fields" field. Support flipping horizonally and vertially.</td>
<td>Randomly flip all values in the "img_fields", "bbox_fields", "mask_fields" and "seg_fields". Support flipping horizonally, vertially and diagonally, and support specifying the probability of every kind of flipping.</td>
<td>Randomly flip the values in the "img", "gt_bboxes", "gt_seg_map", "gt_keypoints" field. Support flipping horizonally, vertially and diagonally, and support specifying the probability of every kind of flipping.</td>
<td>Randomly flip all images in the "img_fields" field. Support flipping horizontally and vertically.</td>
<td>Randomly flip all values in the "img_fields", "bbox_fields", "mask_fields" and "seg_fields". Support flipping horizontally, vertically and diagonally, and support specifying the probability of every kind of flipping.</td>
<td>Randomly flip the values in the "img", "gt_bboxes", "gt_seg_map", "gt_keypoints" field. Support flipping horizontally, vertically and diagonally, and support specifying the probability of every kind of flipping.</td>
</tr>
<tr>
<td><code>MultiScaleFlipAug</code></td>
Expand Down
1 change: 0 additions & 1 deletion docs/zh_cn/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@
'sphinx.ext.napoleon',
'sphinx.ext.viewcode',
'sphinx.ext.autosectionlabel',
'sphinx_markdown_tables',
'myst_parser',
'sphinx_copybutton',
'sphinx.ext.autodoc.typehints',
Expand Down

0 comments on commit 5d1d929

Please sign in to comment.