Skip to content

Commit

Permalink
Merge branch 'fix/docs' into feat/instance-seg-head
Browse files Browse the repository at this point in the history
  • Loading branch information
JSabadin committed Jan 23, 2025
2 parents f31861d + 1122f0e commit afc1603
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
4 changes: 2 additions & 2 deletions luxonis_train/loaders/base_loader.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ class ConfigItem:
@type image_source: str
@param image_source: Name of the image source. Only relevant for
datasets with multiple image sources, e.g. C{"left"} and C{"right"}. This parameter defines which of these sources is used for
visualizations.
visualizations.
@type keep_aspect_ratio: bool
@param keep_aspect_ratio: Whether to keep the aspect ratio of the output image after resizing.
Expand Down Expand Up @@ -226,7 +226,7 @@ def get(self, idx: int) -> tuple[Tensor | dict[str, Tensor], Labels]:
@type idx: int
@param idx: Sample index.
@rtype: L{LuxonisLoaderTorchOutput}
@return: Sample's data in L{LuxonisLoaderTorchOutput} format
@return: Sample's data in L{LuxonisLoaderTorchOutput} format.
"""
...

Expand Down
5 changes: 2 additions & 3 deletions luxonis_train/nodes/backbones/ddrnet/blocks.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,9 +135,8 @@ def __init__(
@type inter_mode: str
@param inter_mode: Interpolation mode for upscaling. Defaults to
"bilinear".
@raises ValueError: If the lengths of `kernel_sizes` and `strides`
are not the same.
@raises ValueError: If the lengths of C{kernel_sizes} and
C{strides} are not the same.
"""
super().__init__()

Expand Down

0 comments on commit afc1603

Please sign in to comment.