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
d6ef3b0d
Commit
d6ef3b0d
authored
5 years ago
by
Tim Laibacher
Browse files
Options
Downloads
Patches
Plain Diff
Add python-api docs
parent
789310cb
No related branches found
No related tags found
1 merge request
!5
Image folder
Pipeline
#33074
failed
5 years ago
Stage: build
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
bob/ip/binseg/data/imagefolder.py
+4
-8
4 additions, 8 deletions
bob/ip/binseg/data/imagefolder.py
doc/api.rst
+6
-2
6 additions, 2 deletions
doc/api.rst
with
10 additions
and
10 deletions
bob/ip/binseg/data/imagefolder.py
+
4
−
8
View file @
d6ef3b0d
...
...
@@ -19,10 +19,10 @@ def get_file_lists(data_path):
class
ImageFolder
(
Dataset
):
"""
Required directory tree structure for images and ground-truth (gt)
:
root
|-
images
|- gt
Generic ImageFolder dataset, that contains two folders
:
* ``images`` (vessel
images
)
* ``gt`` (ground-truth labels)
Parameters
...
...
@@ -30,10 +30,6 @@ class ImageFolder(Dataset):
path : str
full path to root of dataset
Returns
-------
[type]
[description]
"""
def
__init__
(
self
,
path
,
transform
=
None
):
self
.
transform
=
transform
...
...
This diff is collapsed.
Click to expand it.
doc/api.rst
+
6
−
2
View file @
d6ef3b0d
...
...
@@ -9,10 +9,14 @@ This section lists all the functionality available in this library allowing to
run binary-segmentation benchmarks.
PyTorch Dataset
===============
PyTorch
bob.db
Dataset
===============
=======
.. automodule:: bob.ip.binseg.data.binsegdataset
PyTorch ImageFolder Dataset
===========================
.. automodule:: bob.ip.binseg.data.imagefolder
Transforms
==========
.. note::
...
...
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