Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
ICV-mmengine_basecode
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Florian Schiffel
ICV-mmengine_basecode
Commits
c1178fad
Unverified
Commit
c1178fad
authored
2 years ago
by
Li Mengzhang
Committed by
GitHub
2 years ago
Browse files
Options
Downloads
Patches
Plain Diff
[Doc] Fix typo in docstring (#527)
parent
6b1b8a37
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
mmengine/structures/instance_data.py
+1
-1
1 addition, 1 deletion
mmengine/structures/instance_data.py
mmengine/structures/label_data.py
+1
-1
1 addition, 1 deletion
mmengine/structures/label_data.py
mmengine/structures/pixel_data.py
+1
-1
1 addition, 1 deletion
mmengine/structures/pixel_data.py
with
3 additions
and
3 deletions
mmengine/structures/instance_data.py
+
1
−
1
View file @
c1178fad
...
@@ -16,7 +16,7 @@ IndexType = Union[str, slice, int, list, torch.LongTensor,
...
@@ -16,7 +16,7 @@ IndexType = Union[str, slice, int, list, torch.LongTensor,
# Modified from
# Modified from
# https://github.com/open-mmlab/mmdetection/blob/master/mmdet/core/data_structures/instance_data.py # noqa
# https://github.com/open-mmlab/mmdetection/blob/master/mmdet/core/data_structures/instance_data.py # noqa
class
InstanceData
(
BaseDataElement
):
class
InstanceData
(
BaseDataElement
):
"""
Data structure for instance-level ann
n
otations or predictions.
"""
Data structure for instance-level annotations or predictions.
Subclass of :class:`BaseDataElement`. All value in `data_fields`
Subclass of :class:`BaseDataElement`. All value in `data_fields`
should have the same length. This design refer to
should have the same length. This design refer to
...
...
This diff is collapsed.
Click to expand it.
mmengine/structures/label_data.py
+
1
−
1
View file @
c1178fad
...
@@ -6,7 +6,7 @@ from .base_data_element import BaseDataElement
...
@@ -6,7 +6,7 @@ from .base_data_element import BaseDataElement
class
LabelData
(
BaseDataElement
):
class
LabelData
(
BaseDataElement
):
"""
Data structure for label-level ann
n
otations or predictions.
"""
"""
Data structure for label-level annotations or predictions.
"""
@staticmethod
@staticmethod
def
onehot_to_label
(
onehot
:
torch
.
Tensor
)
->
torch
.
Tensor
:
def
onehot_to_label
(
onehot
:
torch
.
Tensor
)
->
torch
.
Tensor
:
...
...
This diff is collapsed.
Click to expand it.
mmengine/structures/pixel_data.py
+
1
−
1
View file @
c1178fad
...
@@ -9,7 +9,7 @@ from .base_data_element import BaseDataElement
...
@@ -9,7 +9,7 @@ from .base_data_element import BaseDataElement
class
PixelData
(
BaseDataElement
):
class
PixelData
(
BaseDataElement
):
"""
Data structure for pixel-level ann
n
otations or predictions.
"""
Data structure for pixel-level annotations or predictions.
All data items in ``data_fields`` of ``PixelData`` meet the following
All data items in ``data_fields`` of ``PixelData`` meet the following
requirements:
requirements:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment