Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Docs] Resolve warnings in sphinx build #915

Merged
merged 15 commits into from
Feb 8, 2023
Prev Previous commit
Next Next commit
resolve python literal_block warnings
  • Loading branch information
C1rN09 committed Feb 7, 2023
commit 9b273340f71e1d7c2880c722226f9b1c29f2673f
18 changes: 9 additions & 9 deletions docs/en/advanced_tutorials/test_time_augmentation.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,20 +103,20 @@ The following diagram illustrates this sequence of method calls:
After data augmentation with TestTimeAug, the resulting data will have the following format:

```python
image1 = dict(
image1 = dict(
inputs=[data_1_1, data_1_2],
data_sample=[data_sample1_1, data_sample1_2])
data_sample=[data_sample1_1, data_sample1_2]
)

image2 = dict(
image2 = dict(
inputs=[data_2_1, data_2_2],
data_sample=[data_sample2_1, data_sample2_2])
data_sample=[data_sample2_1, data_sample2_2]
)

image3 = dict(
image3 = dict(
inputs=[data_3_1, data_3_2],
data_sample=[data_sample3_1, data_sample3_2])
data_sample=[data_sample3_1, data_sample3_2]
)
```

where `data_{i}_{j}` means the enhanced data,and `data_sample_{i}_{j}` means the ground truth of enhanced data. Then the data will be processed by `Dataloader`, which contributes to the following format:
Expand Down
2 changes: 1 addition & 1 deletion docs/en/advanced_tutorials/visualization.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ def draw_featmap(
# the layout when multiple channels are expanded into multiple images
arrangement: Tuple[int, int] = (5, 2),
# scale the feature map
resize_shapeOptional[tuple] = None,
resize_shape: Optional[tuple] = None,
# overlay ratio between input image and generated feature map
alpha: float = 0.5,
) -> np.ndarray:
Expand Down