Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
deepdraw
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
Model registry
Operate
Environments
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
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
medai
software
deepdraw
Commits
a7833cc7
Commit
a7833cc7
authored
4 years ago
by
André Anjos
Browse files
Options
Downloads
Patches
Plain Diff
[data.dataset] Improve documentation
parent
427ffd73
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!12
Streamlining
Pipeline
#39020
passed
4 years ago
Stage: build
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
bob/ip/binseg/data/dataset.py
+6
-5
6 additions, 5 deletions
bob/ip/binseg/data/dataset.py
with
6 additions
and
5 deletions
bob/ip/binseg/data/dataset.py
+
6
−
5
View file @
a7833cc7
...
@@ -61,8 +61,8 @@ class JSONDataset:
...
@@ -61,8 +61,8 @@ class JSONDataset:
the JSON file.
the JSON file.
loader : object
loader : object
A function that receives as input, a context dictionary (with a
A function that receives as input, a context dictionary (with a
t least
"
protocol
"
and
"
subset
"
keys indicating which protocol and subset are
a
"
protocol
"
and
"
subset
"
keys indicating which protocol and subset are
being served), and a dictionary with ``{key: path}`` entries, and
being served), and a dictionary with ``{key: path}`` entries, and
returns a dictionary with the loaded data.
returns a dictionary with the loaded data.
...
@@ -204,9 +204,10 @@ class CSVDataset:
...
@@ -204,9 +204,10 @@ class CSVDataset:
the CSV file(s).
the CSV file(s).
loader : object
loader : object
A function that receives, as input, a dictionary with ``{name: value}``
A function that receives as input, a context dictionary (with, at
entries (for each header in the input CSV file), and returns a
least, a
"
subset
"
key indicating which subset is being served), and a
dictionary with the loaded data.
dictionary with ``{key: path}`` entries, and returns a dictionary with
the loaded data.
keymaker : object
keymaker : object
A function that receives as input the same input from the ``loader``,
A function that receives as input the same input from the ``loader``,
...
...
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