Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
mednet
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
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
medai
software
mednet
Commits
3730534d
Commit
3730534d
authored
1 year ago
by
Daniel CARRON
Browse files
Options
Downloads
Patches
Plain Diff
[doc] Ignore remaining numpydoc issues
parent
8f7b9966
No related branches found
No related tags found
1 merge request
!15
Update documentation
Pipeline
#83977
passed
1 year ago
Stage: qa
Stage: test
Stage: doc
Stage: dist
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
pyproject.toml
+1
-0
1 addition, 0 deletions
pyproject.toml
src/mednet/config/data/tbx11k/datamodule.py
+3
-1
3 additions, 1 deletion
src/mednet/config/data/tbx11k/datamodule.py
with
4 additions
and
1 deletion
pyproject.toml
+
1
−
0
View file @
3730534d
...
...
@@ -275,6 +275,7 @@ exclude = [ # don't report on objects that match any of these regex
'\.__len__$'
,
'\.__getitem__$'
,
'\.__iter__$'
,
'\.__exit__$'
,
]
override_SS05
=
[
# override SS05 to allow docstrings starting with these words
...
...
This diff is collapsed.
Click to expand it.
src/mednet/config/data/tbx11k/datamodule.py
+
3
−
1
View file @
3730534d
...
...
@@ -118,7 +118,9 @@ class BoundingBoxes(collections.abc.Sequence[BoundingBox]):
# We update the default collate function map to use our custom function as
# explained at:
# https://pytorch.org/docs/stable/data.html#torch.utils.data.default_collate
def
_collate_boundingboxes_fn
(
batch
,
*
,
collate_fn_map
=
None
):
def
_collate_boundingboxes_fn
(
batch
,
*
,
collate_fn_map
=
None
):
# numpydoc ignore=PR01
"""
Custom collate_fn() for pytorch dataloaders that ignores BoundingBoxes objects.
Returns
...
...
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